CustomRequestCultureProvider Konstruktor

Definice

Vytvoří nový CustomRequestCultureProvider pomocí zadaného delegáta.

public:
 CustomRequestCultureProvider(Func<Microsoft::AspNetCore::Http::HttpContext ^, System::Threading::Tasks::Task<Microsoft::AspNetCore::Localization::ProviderCultureResult ^> ^> ^ provider);
public CustomRequestCultureProvider (Func<Microsoft.AspNetCore.Http.HttpContext,System.Threading.Tasks.Task<Microsoft.AspNetCore.Localization.ProviderCultureResult>> provider);
public CustomRequestCultureProvider (Func<Microsoft.AspNetCore.Http.HttpContext,System.Threading.Tasks.Task<Microsoft.AspNetCore.Localization.ProviderCultureResult?>> provider);
new Microsoft.AspNetCore.Localization.CustomRequestCultureProvider : Func<Microsoft.AspNetCore.Http.HttpContext, System.Threading.Tasks.Task<Microsoft.AspNetCore.Localization.ProviderCultureResult>> -> Microsoft.AspNetCore.Localization.CustomRequestCultureProvider
Public Sub New (provider As Func(Of HttpContext, Task(Of ProviderCultureResult)))

Parametry

provider
Func<HttpContext,Task<ProviderCultureResult>>

Delegát zprostředkovatele.

Platí pro