BrowserConfigurationHttpContextExtensions.GetBrowserConfiguration Method

Definition

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.

Applies to