1 implementation of RequestCulture
Microsoft.AspNetCore.Localization (1)
RequestCultureFeature.cs (1)
25
public RequestCulture
RequestCulture
{ get; }
23 references to RequestCulture
LocalizationSample (1)
Startup.cs (1)
45
var requestCulture = requestCultureFeature.
RequestCulture
;
LocalizationWebsite (1)
StartupBuilderAPIs.cs (1)
33
var requestCulture = requestCultureFeature.
RequestCulture
;
Microsoft.AspNetCore.Localization.Routing.Tests (3)
RouteDataRequestCultureProviderTest.cs (3)
66
var requestCulture = requestCultureFeature.
RequestCulture
;
117
var requestCulture = requestCultureFeature.
RequestCulture
;
187
var requestCulture = requestCultureFeature.
RequestCulture
;
Microsoft.AspNetCore.Localization.Tests (18)
AcceptLanguageHeaderRequestCultureProviderTest.cs (4)
37
var requestCulture = requestCultureFeature.
RequestCulture
;
78
var requestCulture = requestCultureFeature.
RequestCulture
;
118
var requestCulture = requestCultureFeature.
RequestCulture
;
162
var requestCulture = requestCultureFeature.
RequestCulture
;
CookieRequestCultureProviderTest.cs (3)
51
var requestCulture = requestCultureFeature.
RequestCulture
;
103
var requestCulture = requestCultureFeature.
RequestCulture
;
152
var requestCulture = requestCultureFeature.
RequestCulture
;
CustomRequestCultureProviderTest.cs (1)
48
var requestCulture = requestCultureFeature.
RequestCulture
;
QueryStringRequestCultureProviderTest.cs (8)
40
var requestCulture = requestCultureFeature.
RequestCulture
;
74
var requestCulture = requestCultureFeature.
RequestCulture
;
116
var requestCulture = requestCultureFeature.
RequestCulture
;
157
var requestCulture = requestCultureFeature.
RequestCulture
;
198
var requestCulture = requestCultureFeature.
RequestCulture
;
240
var requestCulture = requestCultureFeature.
RequestCulture
;
287
var requestCulture = requestCultureFeature.
RequestCulture
;
335
var requestCulture = requestCultureFeature.
RequestCulture
;
RequestLocalizationMiddlewareTest.cs (2)
53
Assert.Equal(parentCulture, requestCulture.
RequestCulture
.Culture.Name);
54
Assert.Equal(parentCulture, requestCulture.
RequestCulture
.UICulture.Name);