BrowserConfigurationHttpContextExtensions.GetBrowserConfiguration Метод

Определение

Возвращает текущий BrowserConfiguration запрос. Если он еще не задан, семена из метаданных конечной точки или создает новый экземпляр.

public static Microsoft.AspNetCore.Components.BrowserConfiguration GetBrowserConfiguration(this Microsoft.AspNetCore.Http.HttpContext context);
static member GetBrowserConfiguration : Microsoft.AspNetCore.Http.HttpContext -> Microsoft.AspNetCore.Components.BrowserConfiguration
<Extension()>
Public Function GetBrowserConfiguration (context As HttpContext) As BrowserConfiguration

Параметры

context
HttpContext

Объект HttpContext.

Возвращаемое значение

Текущий BrowserConfiguration запрос.

Применяется к