Microsoft.Extensions.Validation.Localization Namespace

Classes

Name Description
ValidationAttributeFormatterRegistry

Registry of IValidationAttributeFormatter factories keyed by ValidationAttribute type. Used by the validation localization pipeline to format localized error message templates with attribute-specific arguments.

ValidationLocalizationOptions

Configuration options for the Microsoft.Extensions.Validation.Localization default IStringLocalizer-based validation localizer. Configure via services.AddValidationLocalization(options => ...).

Interfaces

Name Description
IValidationAttributeFormatter

Formats a validation error message template with attribute-specific arguments. Used by the validation localization pipeline to produce fully formatted error messages from localized templates that contain positional placeholders beyond {0} (the display name).