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

Namespace EPiServer.Validation

Classes

ContentSaveValidationContext

The context used in IContentSaveValidate<TContent> implementations that are called during save validation of content instances.

DataAnnotationsValidator<T>

Base class for validator classes that does validation against attributes specified in System.ComponentModel.DataAnnotations

ValidationError

Represents a validation error.

ValidatorWrapper<T>

Class that encapsulates an instance of IValidate<T>

Interfaces

IContentSaveValidate<TContent>

Signature for component that validates instances of IContentData instances with access to validation context given by ContentSaveValidationContext

IContextValidate<TInstance, TContext>

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

IContextValidationService

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

IValidate

base interface for IValidate<T> the signature for a component that validates object instances

IValidate<T>

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

IValidationService

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

Enums

ValidationErrorSeverity

Indicates the severity for a validation error.

ValidationErrorType

Defines which type of validation that caused the error.