Language

RazorComponentsEndpointConventionBuilderExtensions.WithBrowserOptions Method

Definition

Configures a BrowserOptions that will be emitted as a DOM comment to the browser for all Razor component endpoints.

public static Microsoft.AspNetCore.Builder.RazorComponentsEndpointConventionBuilder WithBrowserOptions(this Microsoft.AspNetCore.Builder.RazorComponentsEndpointConventionBuilder builder, Action<Microsoft.AspNetCore.Components.BrowserOptions> configureOptions);
static member WithBrowserOptions : Microsoft.AspNetCore.Builder.RazorComponentsEndpointConventionBuilder * Action<Microsoft.AspNetCore.Components.BrowserOptions> -> Microsoft.AspNetCore.Builder.RazorComponentsEndpointConventionBuilder
<Extension()>
Public Function WithBrowserOptions (builder As RazorComponentsEndpointConventionBuilder, configureOptions As Action(Of BrowserOptions)) As RazorComponentsEndpointConventionBuilder

Parameters

configureOptions
Action<BrowserOptions>

An action to configure the BrowserOptions.

Returns

The RazorComponentsEndpointConventionBuilder.

Applies to