1 write to DataAnnotationLocalizerProvider
Microsoft.AspNetCore.Mvc.DataAnnotations (1)
DependencyInjection\MvcDataAnnotationsLocalizationOptionsSetup.cs (1)
19options.DataAnnotationLocalizerProvider = (modelType, stringLocalizerFactory) =>
9 references to DataAnnotationLocalizerProvider
Microsoft.AspNetCore.Mvc.DataAnnotations (8)
DataAnnotationsClientModelValidatorProvider.cs (2)
49if (_options.Value.DataAnnotationLocalizerProvider != null && _stringLocalizerFactory != null) 53stringLocalizer = _options.Value.DataAnnotationLocalizerProvider(
DataAnnotationsMetadataProvider.cs (4)
98if (_stringLocalizerFactory != null && _localizationOptions.DataAnnotationLocalizerProvider != null) 100localizer = _localizationOptions.DataAnnotationLocalizerProvider(containerType, _stringLocalizerFactory); 179if (_stringLocalizerFactory != null && _localizationOptions.DataAnnotationLocalizerProvider != null) 181enumLocalizer = _localizationOptions.DataAnnotationLocalizerProvider(underlyingType, _stringLocalizerFactory);
DataAnnotationsModelValidatorProvider.cs (2)
47if (_stringLocalizerFactory != null && _options.Value.DataAnnotationLocalizerProvider != null) 49stringLocalizer = _options.Value.DataAnnotationLocalizerProvider(
Microsoft.AspNetCore.Mvc.ViewFeatures (1)
RemoteAttributeBase.cs (1)
183var provider = options.Value.DataAnnotationLocalizerProvider;