Condividi tramite


CustomRequestCultureProvider Costruttore

Definizione

Crea un nuovo CustomRequestCultureProvider oggetto usando il delegato specificato.

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)))

Parametri

provider
Func<HttpContext,Task<ProviderCultureResult>>

Delegato del provider.

Si applica a