Aracılığıyla paylaş


ServerRazorComponentsEndpointConventionBuilderExtensions.AddInteractiveServerRenderMode Yöntem

Tanım

Aşırı Yüklemeler

AddInteractiveServerRenderMode(RazorComponentsEndpointConventionBuilder)

Uygulamayı InteractiveServer işleme modunu destekleyecek şekilde yapılandırılır.

AddInteractiveServerRenderMode(RazorComponentsEndpointConventionBuilder, Action<ServerComponentsEndpointOptions>)

Blazor Hub varsayılan yola eşler.

AddInteractiveServerRenderMode(RazorComponentsEndpointConventionBuilder)

Kaynak:
ServerRazorComponentsEndpointConventionBuilderExtensions.cs

Uygulamayı InteractiveServer işleme modunu destekleyecek şekilde yapılandırılır.

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

Parametreler

Döndürülenler

RazorComponentsEndpointConventionBuilder.

Şunlara uygulanır

AddInteractiveServerRenderMode(RazorComponentsEndpointConventionBuilder, Action<ServerComponentsEndpointOptions>)

Blazor Hub varsayılan yola eşler.

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

Parametreler

configure
Action<ServerComponentsEndpointOptions>

Sunucu uç noktası seçeneklerini yapılandırmak için bir geri çağırma.

Döndürülenler

ComponentEndpointConventionBuilder.

Şunlara uygulanır