Interface IValidationService
Defines the signature for the service that performs vaidation of model instances.
Namespace: EPiServer.Validation
Assembly: EPiServer.Framework.dll
Version: 12.0.3Syntax
public interface IValidationService
Methods
Validate(Object)
Validates the specified instance.
Declaration
IEnumerable<ValidationError> Validate(object instance)
Parameters
Type | Name | Description |
---|---|---|
System.Object | instance | The instance. |
Returns
Type | Description |
---|---|
System.Collections.Generic.IEnumerable<ValidationError> |