Partager via


RequestCultureProvider.DetermineProviderCultureResult(HttpContext) Méthode

Définition

Implémente le fournisseur pour déterminer la culture de la demande donnée.

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)

Paramètres

httpContext
HttpContext

HttpContext de la requête.

Retours

déterminé ProviderCultureResult. Retourne null si le fournisseur n’a pas pu déterminer un ProviderCultureResult.

Implémente

S’applique à