RazorComponentsEndpointConventionBuilderExtensions.WithBrowserOptions Metodo
Definizione
Importante
Alcune informazioni sono relative alla release non definitiva del prodotto, che potrebbe subire modifiche significative prima della release definitiva. Microsoft non riconosce alcuna garanzia, espressa o implicita, in merito alle informazioni qui fornite.
Configura un oggetto BrowserOptions che verrà generato come commento DOM nel browser per tutti gli endpoint del componente 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
Parametri
- configureOptions
- Action<BrowserOptions>
Azione per configurare .BrowserOptions
Valori restituiti
Il RazorComponentsEndpointConventionBuilder