Try our conversational search powered by Generative AI!

Interface IValidationService

Defines the signature for the service that performs vaidation of model instances.

Namespace: EPiServer.Validation
Assembly: EPiServer.Framework.dll
Version: 11.20.7
Syntax
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>

Extension Methods