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.
class Microsoft.​AspNetCore.​Localization.​RequestLocalizationMiddleware
Assembly: Microsoft.AspNetCore.Localization
Inheritance: object → RequestLocalizationMiddleware
Enables automatic setting of the culture for <see cref="T:Microsoft.AspNetCore.Http.HttpRequest" /> s based on information sent by the client in headers and logic provided by the application.
Methods
Invoke​(Http.​HttpContext context)
Invokes the logic of the middleware.
Returns A <see cref="T:System.Threading.Tasks.Task" /> that completes when the middleware has completed processing.
context
The <see cref="T:Microsoft.AspNetCore.Http.HttpContext" /> .
public
bool
Equals​(object obj)
Inherited from object
protected
void
Finalize​()
Inherited from object
public
int
GetHashCode​()
Inherited from object
protected
object
MemberwiseClone​()
Inherited from object
public
string
ToString​()
Inherited from object