Compartir a través de


IRequestCultureProvider.DetermineProviderCultureResult(HttpContext) Método

Definición

Implementa el proveedor para determinar la referencia cultural de la solicitud especificada.

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)

Parámetros

httpContext
HttpContext

HttpContext de la solicitud.

Devoluciones

objeto determinado ProviderCultureResult. Devuelve null si el proveedor no pudo determinar .ProviderCultureResult

Se aplica a