Udostępnij za pośrednictwem


ServerRazorComponentsEndpointConventionBuilderExtensions.AddInteractiveServerRenderMode Metoda

Definicja

Przeciążenia

AddInteractiveServerRenderMode(RazorComponentsEndpointConventionBuilder)

Konfiguruje aplikację do obsługi trybu renderowania InteractiveServer.

AddInteractiveServerRenderMode(RazorComponentsEndpointConventionBuilder, Action<ServerComponentsEndpointOptions>)

Mapuje Hub Blazor na ścieżkę domyślną.

AddInteractiveServerRenderMode(RazorComponentsEndpointConventionBuilder)

Źródło:
ServerRazorComponentsEndpointConventionBuilderExtensions.cs

Konfiguruje aplikację do obsługi trybu renderowania 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

Parametry

Zwraca

RazorComponentsEndpointConventionBuilder.

Dotyczy

AddInteractiveServerRenderMode(RazorComponentsEndpointConventionBuilder, Action<ServerComponentsEndpointOptions>)

Mapuje Hub Blazor na ścieżkę domyślną.

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

Parametry

configure
Action<ServerComponentsEndpointOptions>

Wywołanie zwrotne do konfigurowania opcji punktu końcowego serwera.

Zwraca

ComponentEndpointConventionBuilder.

Dotyczy