RazorComponentsEndpointConventionBuilderExtensions.WithBrowserConfiguration Método
Definição
Importante
Algumas informações se referem a produtos de pré-lançamento que podem ser substancialmente modificados antes do lançamento. A Microsoft não oferece garantias, expressas ou implícitas, das informações aqui fornecidas.
Configura um BrowserConfiguration que será emitido como um comentário DOM para o navegador para todos os pontos de extremidade de componente do Razor.
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
Parâmetros
- configure
- Action<BrowserConfiguration>
Uma ação para configurar o BrowserConfiguration.
Retornos
O RazorComponentsEndpointConventionBuilder.