Compartir a través de


RequestCultureProvider.DetermineProviderCultureResult(HttpContext) Método

Definición

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

public:
 abstract System::Threading::Tasks::Task<Microsoft::AspNetCore::Localization::ProviderCultureResult ^> ^ DetermineProviderCultureResult(Microsoft::AspNetCore::Http::HttpContext ^ httpContext);
public abstract System.Threading.Tasks.Task<Microsoft.AspNetCore.Localization.ProviderCultureResult> DetermineProviderCultureResult (Microsoft.AspNetCore.Http.HttpContext httpContext);
public abstract 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 MustOverride 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

Implementaciones

Se aplica a