Five New Optimizely Certifications are Here! Validate your expertise and advance your career with our latest certification exams. Click here to find out 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