RazorComponentsEndpointConventionBuilderExtensions.WithBrowserConfiguration 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.
Configures a BrowserConfiguration that will be emitted as a DOM comment to the browser for all Razor component endpoints.
public static Microsoft.AspNetCore.Builder.RazorComponentsEndpointConventionBuilder WithBrowserConfiguration(this Microsoft.AspNetCore.Builder.RazorComponentsEndpointConventionBuilder builder, Action<Microsoft.AspNetCore.Components.BrowserConfiguration> configure);
static member WithBrowserConfiguration : Microsoft.AspNetCore.Builder.RazorComponentsEndpointConventionBuilder * Action<Microsoft.AspNetCore.Components.BrowserConfiguration> -> Microsoft.AspNetCore.Builder.RazorComponentsEndpointConventionBuilder
<Extension()>
Public Function WithBrowserConfiguration (builder As RazorComponentsEndpointConventionBuilder, configure As Action(Of BrowserConfiguration)) As RazorComponentsEndpointConventionBuilder
Parameters
- configure
- Action<BrowserConfiguration>
An action to configure the BrowserConfiguration.
Returns
The RazorComponentsEndpointConventionBuilder.