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

Class VisitorGroupValidation

Inheritance
System.Object
VisitorGroupValidation
Namespace: EPiServer.Personalization.VisitorGroups.Internal
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
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()

Extension Methods