Class CriterionValidationResult
Inheritance
System.Object
CriterionValidationResult
Inherited Members
System.Object.ToString()
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
Namespace: EPiServer.Personalization.VisitorGroups
Assembly: EPiServer.ApplicationModules.dll
Version: 11.20.7Syntax
public class CriterionValidationResult
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 |