MvcDataAnnotationsLocalizationOptions Class¶
Provides programmatic configuration for DataAnnotations localization in the MVC framework.
- Namespace
Microsoft.AspNetCore.Mvc.DataAnnotations
- Assemblies
- Microsoft.AspNetCore.Mvc.DataAnnotations
Syntax¶
public class MvcDataAnnotationsLocalizationOptions
-
class
Microsoft.AspNetCore.Mvc.DataAnnotations.
MvcDataAnnotationsLocalizationOptions
Fields¶
-
DataAnnotationLocalizerProvider
()¶ The delegate to invoke for creating
Microsoft.Extensions.Localization.IStringLocalizer
.Return type: System.Func<System.Type> public Func<Type, IStringLocalizerFactory, IStringLocalizer> DataAnnotationLocalizerProvider
-