Sisk

Method

HttpServerHostContextBuilder.UseLocale

Namespace
Sisk.Core.Http.Hosting
Assembly
Sisk.Core.dll

UseLocale(CultureInfo) #

Changes the default thread current culture through DefaultThreadCurrentCulture.

C#
public HttpServerHostContextBuilder UseLocale(CultureInfo locale)

Parameters #

locale CultureInfo

The default CultureInfo object which the HTTP server will apply to the request handlers and callbacks thread.

Returns #

HttpServerHostContextBuilder

Type to search the documentation and the API reference.