Bagikan melalui


ServerRazorComponentsEndpointConventionBuilderExtensions.AddInteractiveServerRenderMode Metode

Definisi

Overload

AddInteractiveServerRenderMode(RazorComponentsEndpointConventionBuilder)

Mengonfigurasi aplikasi untuk mendukung mode render InteractiveServer.

AddInteractiveServerRenderMode(RazorComponentsEndpointConventionBuilder, Action<ServerComponentsEndpointOptions>)

Memetakan Hub Blazor ke jalur default.

AddInteractiveServerRenderMode(RazorComponentsEndpointConventionBuilder)

Sumber:
ServerRazorComponentsEndpointConventionBuilderExtensions.cs

Mengonfigurasi aplikasi untuk mendukung mode render 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

Parameter

Mengembalikan

RazorComponentsEndpointConventionBuilder.

Berlaku untuk

AddInteractiveServerRenderMode(RazorComponentsEndpointConventionBuilder, Action<ServerComponentsEndpointOptions>)

Memetakan Hub Blazor ke jalur default.

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

Parameter

configure
Action<ServerComponentsEndpointOptions>

Panggilan balik untuk mengonfigurasi opsi titik akhir server.

Mengembalikan

ComponentEndpointConventionBuilder.

Berlaku untuk