November Happy Hour will be moved to Thursday December 5th.

Class CriterionValidationResult

Inheritance
System.Object
CriterionValidationResult
Namespace: EPiServer.Personalization.VisitorGroups
Assembly: EPiServer.ApplicationModules.dll
Version: 12.0.3
Syntax
public class CriterionValidationResult : Object

Constructors

CriterionValidationResult(Boolean)

Declaration
public CriterionValidationResult(bool valid)
Parameters
Type Name Description
System.Boolean valid

CriterionValidationResult(Boolean, String)

Declaration
public CriterionValidationResult(bool valid, string validationError)
Parameters
Type Name Description
System.Boolean valid
System.String validationError

CriterionValidationResult(Boolean, String, String)

Declaration
public CriterionValidationResult(bool valid, string validationError, string property)
Parameters
Type Name Description
System.Boolean valid
System.String validationError
System.String property

Properties

ErrorMessage

Declaration
public string ErrorMessage { get; set; }
Property Value
Type Description
System.String

ErrorProperty

Declaration
public string ErrorProperty { get; set; }
Property Value
Type Description
System.String

IsValid

Declaration
public bool IsValid { get; set; }
Property Value
Type Description
System.Boolean

Valid

Declaration
public static CriterionValidationResult Valid { get; }
Property Value
Type Description
CriterionValidationResult

Extension Methods