A critical vulnerability was discovered in React Server Components (Next.js). Our systems remain protected but we advise to update packages to newest version. Learn More

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