Partager via


IRequestCultureProvider.DetermineProviderCultureResult(HttpContext) Méthode

Définition

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

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)

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.

S’applique à