Try our conversational search powered by Generative AI!

Interface IValidate<T>

Defines the signature for a component that validates instances of T.

Namespace: EPiServer.Validation
Assembly: EPiServer.Framework.dll
Version: 11.20.7
Syntax
public interface IValidate<T> : IValidate
Type Parameters
Name Description
T

Methods

Validate(T)

Validates the specified instance.

Declaration
IEnumerable<ValidationError> Validate(T instance)
Parameters
Type Name Description
T instance

The instance.

Returns
Type Description
System.Collections.Generic.IEnumerable<ValidationError>

Extension Methods