Sdílet prostřednictvím


RouteDataRequestCultureProvider.DetermineProviderCultureResult Metoda

Definice

Implementuje zprostředkovatele k určení jazykové verze daného požadavku.

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

Parametry

httpContext
HttpContext

Položka HttpContext pro daný požadavek.

Návraty

Určená ProviderCultureResulthodnota . Vrátí hodnotunull, pokud zprostředkovatel nemohl určit .ProviderCultureResult

Platí pro