Condividi tramite


IRequestCultureProvider.DetermineProviderCultureResult(HttpContext) Metodo

Definizione

Implementa il provider per determinare le impostazioni cultura della richiesta specificata.

public:
 System::Threading::Tasks::Task<Microsoft::AspNetCore::Localization::ProviderCultureResult ^> ^ DetermineProviderCultureResult(Microsoft::AspNetCore::Http::HttpContext ^ httpContext);
public System.Threading.Tasks.Task<Microsoft.AspNetCore.Localization.ProviderCultureResult> DetermineProviderCultureResult (Microsoft.AspNetCore.Http.HttpContext httpContext);
public System.Threading.Tasks.Task<Microsoft.AspNetCore.Localization.ProviderCultureResult?> DetermineProviderCultureResult (Microsoft.AspNetCore.Http.HttpContext httpContext);
abstract member DetermineProviderCultureResult : Microsoft.AspNetCore.Http.HttpContext -> System.Threading.Tasks.Task<Microsoft.AspNetCore.Localization.ProviderCultureResult>
Public Function DetermineProviderCultureResult (httpContext As HttpContext) As Task(Of ProviderCultureResult)

Parametri

httpContext
HttpContext

Interfaccia HttpContext per la richiesta.

Restituisce

Oggetto determinato ProviderCultureResult. Restituisce null se il provider non è riuscito a determinare un ProviderCultureResultoggetto .

Si applica a