1 write to _options
Microsoft.AspNetCore.Localization (1)
RequestLocalizationMiddleware.cs (1)
39
_options
= options.Value;
12 references to _options
Microsoft.AspNetCore.Localization (12)
RequestLocalizationMiddleware.cs (12)
51
var requestCulture =
_options
.DefaultRequestCulture;
55
if (
_options
.RequestCultureProviders != null)
57
foreach (var provider in
_options
.RequestCultureProviders)
69
if (
_options
.SupportedCultures != null)
73
_options
.SupportedCultures,
74
_options
.FallBackToParentCultures);
82
if (
_options
.SupportedUICultures != null)
86
_options
.SupportedUICultures,
87
_options
.FallBackToParentUICultures);
100
cultureInfo ??=
_options
.DefaultRequestCulture.Culture;
101
uiCultureInfo ??=
_options
.DefaultRequestCulture.UICulture;
114
if (
_options
.ApplyCurrentCultureToResponseHeaders)