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