Partilhar via


ServerRazorComponentsEndpointConventionBuilderExtensions.AddInteractiveServerRenderMode Método

Definição

Sobrecargas

AddInteractiveServerRenderMode(RazorComponentsEndpointConventionBuilder)

Configura o aplicativo para dar suporte ao modo de renderização InteractiveServer.

AddInteractiveServerRenderMode(RazorComponentsEndpointConventionBuilder, Action<ServerComponentsEndpointOptions>)

Mapeia o Hub blazor para o caminho padrão.

AddInteractiveServerRenderMode(RazorComponentsEndpointConventionBuilder)

Origem:
ServerRazorComponentsEndpointConventionBuilderExtensions.cs

Configura o aplicativo para dar suporte ao modo de renderização InteractiveServer.

public static Microsoft.AspNetCore.Builder.RazorComponentsEndpointConventionBuilder AddInteractiveServerRenderMode (this Microsoft.AspNetCore.Builder.RazorComponentsEndpointConventionBuilder builder);
static member AddInteractiveServerRenderMode : Microsoft.AspNetCore.Builder.RazorComponentsEndpointConventionBuilder -> Microsoft.AspNetCore.Builder.RazorComponentsEndpointConventionBuilder
<Extension()>
Public Function AddInteractiveServerRenderMode (builder As RazorComponentsEndpointConventionBuilder) As RazorComponentsEndpointConventionBuilder

Parâmetros

Retornos

O RazorComponentsEndpointConventionBuilder.

Aplica-se a

AddInteractiveServerRenderMode(RazorComponentsEndpointConventionBuilder, Action<ServerComponentsEndpointOptions>)

Mapeia o Hub blazor para o caminho padrão.

public static Microsoft.AspNetCore.Builder.RazorComponentsEndpointConventionBuilder AddInteractiveServerRenderMode (this Microsoft.AspNetCore.Builder.RazorComponentsEndpointConventionBuilder builder, Action<Microsoft.AspNetCore.Components.Server.ServerComponentsEndpointOptions> configure);
static member AddInteractiveServerRenderMode : Microsoft.AspNetCore.Builder.RazorComponentsEndpointConventionBuilder * Action<Microsoft.AspNetCore.Components.Server.ServerComponentsEndpointOptions> -> Microsoft.AspNetCore.Builder.RazorComponentsEndpointConventionBuilder
<Extension()>
Public Function AddInteractiveServerRenderMode (builder As RazorComponentsEndpointConventionBuilder, configure As Action(Of ServerComponentsEndpointOptions)) As RazorComponentsEndpointConventionBuilder

Parâmetros

configure
Action<ServerComponentsEndpointOptions>

Um retorno de chamada para configurar opções de ponto de extremidade do servidor.

Retornos

O ComponentEndpointConventionBuilder.

Aplica-se a