Class VisitorGroupValidatorProvider
Validation provider for validating VisitorGroup
Inheritance
System.Object
VisitorGroupValidatorProvider
Namespace: EPiServer.Web.Mvc.VisitorGroups.Validation
Assembly: EPiServer.dll
Version: 8.11.0Syntax
public class VisitorGroupValidatorProvider : ModelValidatorProvider
Constructors
VisitorGroupValidatorProvider()
Declaration
public VisitorGroupValidatorProvider()
Methods
GetValidators(ModelMetadata, ControllerContext)
Get validators for VisitorGroup
Declaration
public override IEnumerable<ModelValidator> GetValidators(ModelMetadata metadata, ControllerContext context)
Parameters
Type | Name | Description |
---|---|---|
System.Web.Mvc.ModelMetadata | metadata | The metadata. |
System.Web.Mvc.ControllerContext | context | The context. |
Returns
Type | Description |
---|---|
System.Collections.Generic.IEnumerable<System.Web.Mvc.ModelValidator> | A list of validators. |