Condividi tramite


RouteDataRequestCultureProvider.DetermineProviderCultureResult Metodo

Definizione

Implementa il provider per determinare le impostazioni cultura della richiesta specificata.

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)

Parametri

httpContext
HttpContext

Interfaccia HttpContext per la richiesta.

Restituisce

Oggetto determinato ProviderCultureResult. Restituisce null se il provider non è riuscito a determinare un oggetto ProviderCultureResult.

Si applica a