Język

RazorComponentsEndpointConventionBuilderExtensions.WithBrowserOptions Metoda

Definicja

Konfiguruje BrowserOptions element, który będzie emitowany jako komentarz DOM do przeglądarki dla wszystkich punktów końcowych składników Razor.

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

Parametry

configureOptions
Action<BrowserOptions>

Akcja konfigurowania elementu BrowserOptions.

Zwraca

RazorComponentsEndpointConventionBuilder.

Dotyczy