BrowserConfigurationHttpContextExtensions.GetBrowserConfiguration Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Gets the BrowserConfiguration for the current request. If not already set, seeds from endpoint metadata or creates a new instance.
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
Parameters
- context
- HttpContext
The HttpContext.
Returns
The BrowserConfiguration for the current request.