Early Preview
This is currently very much a preview. Please feel free to try things out,
but don't be upset if anything is not yet working. Feedback is welcome over on our
GitHub Dicussions page.
interface Microsoft.​AspNetCore.​Localization.​IRequestCultureProvider
Assembly: Microsoft.AspNetCore.Localization
Represents a provider for determining the culture information of an <see cref="T:Microsoft.AspNetCore.Http.HttpRequest" /> .
Methods
System.​Threading.​Tasks.​Task<​ProviderCultureResult>
DetermineProviderCultureResult​(Http.​HttpContext httpContext)
Implements the provider to determine the culture of the given request.
Returns The determined <see cref="T:Microsoft.AspNetCore.Localization.ProviderCultureResult" /> .
Returns <c>null</c> if the provider couldn't determine a <see cref="T:Microsoft.AspNetCore.Localization.ProviderCultureResult" /> .
httpContext
The <see cref="T:Microsoft.AspNetCore.Http.HttpContext" /> for the request.