Class VisitorGroupValidation
Inheritance
System.Object
VisitorGroupValidation
Assembly: EPiServer.ApplicationModules.dll
Version: 12.0.3
Syntax
public class VisitorGroupValidation : Object
Constructors
VisitorGroupValidation(VisitorGroup, IVisitorGroupRepository, IVirtualRoleRepository, IEnumerable<IVisitorGroupValidator>)
Declaration
public VisitorGroupValidation(VisitorGroup visitorGroup, IVisitorGroupRepository visitorGroupRepository, IVirtualRoleRepository virtualRoleRepository, IEnumerable<IVisitorGroupValidator> visitorGroupValidators)
Parameters
Methods
GetValidationResults()
Declaration
public IEnumerable<VisitorGroupValidationResult> GetValidationResults()
Returns
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()
Extension Methods