Class VisitorGroupValidation
Inheritance
System.Object
VisitorGroupValidation
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.Internal
Assembly: EPiServer.ApplicationModules.dll
Version: 11.20.7Syntax
public class VisitorGroupValidation
Constructors
VisitorGroupValidation(VisitorGroup, IVisitorGroupRepository, IVirtualRoleRepository, IEnumerable<IVisitorGroupValidator>)
Declaration
public VisitorGroupValidation(VisitorGroup visitorGroup, IVisitorGroupRepository visitorGroupRepository, IVirtualRoleRepository virtualRoleRepository, IEnumerable<IVisitorGroupValidator> visitorGroupValidators)
Parameters
Type | Name | Description |
---|---|---|
VisitorGroup | visitorGroup | |
IVisitorGroupRepository | visitorGroupRepository | |
IVirtualRoleRepository | virtualRoleRepository | |
System.Collections.Generic.IEnumerable<IVisitorGroupValidator> | visitorGroupValidators |
Methods
GetValidationResults()
Declaration
public IEnumerable<VisitorGroupValidationResult> GetValidationResults()
Returns
Type | Description |
---|---|
System.Collections.Generic.IEnumerable<VisitorGroupValidationResult> |
Validate(out String)
Declaration
public bool Validate(out string errorMessages)
Parameters
Type | Name | Description |
---|---|---|
System.String | errorMessages |
Returns
Type | Description |
---|---|
System.Boolean |
ValidateAndThrowException()
Declaration
public void ValidateAndThrowException()