Microsoft.Extensions.Validation Namespace

Classes

Name Description
SkipValidationAttribute

Indicates that a property, parameter, or type should not be validated.

ValidatableTypeAttribute

Indicates that a type is validatable to support discovery by the validations generator.

ValidateContext

Represents the context for validating a validatable object.

ValidationError

Represents a validation error.

ValidationMessageKeyContext

Provides contextual information used to compute the resource key for looking up a localized validation error message.

ValidationOptions

Specifies configuration options for the validation system.

Interfaces

Name Description
IValidatableInfoResolver

Provides an interface for resolving the validation information associated with a given <seealso cref="T:System.Type"></seealso> or <seealso cref="T:System.Reflection.ParameterInfo"></seealso>.

IValidatablePropertyInfo

Represents an interface for validating a property.

IValidatableTypeInfo

Represents an interface for validating a value of a type.

IValidationMessageFormatter

When implemented by a custom attribute derived from ValidationAttribute it is used by the validation localization pipeline to produce fully formatted messages from localized templates that contain positional placeholders for the attribute-specific arguments.