BrowserConfigurationHttpContextExtensions.GetBrowserConfiguration 方法
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
获取 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
返回
当前 BrowserConfiguration 请求。