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

参数

返回

当前 BrowserConfiguration 请求。

适用于