Sdílet prostřednictvím


WebAssemblyRazorComponentsEndpointConventionBuilderExtensions.AddInteractiveWebAssemblyRenderMode Metoda

Definice

Nakonfiguruje aplikaci tak, aby podporovala InteractiveWebAssembly režim vykreslování.

public static Microsoft.AspNetCore.Builder.RazorComponentsEndpointConventionBuilder AddInteractiveWebAssemblyRenderMode (this Microsoft.AspNetCore.Builder.RazorComponentsEndpointConventionBuilder builder, Action<Microsoft.AspNetCore.Components.WebAssembly.Server.WebAssemblyComponentsEndpointOptions>? callback = default);
static member AddInteractiveWebAssemblyRenderMode : Microsoft.AspNetCore.Builder.RazorComponentsEndpointConventionBuilder * Action<Microsoft.AspNetCore.Components.WebAssembly.Server.WebAssemblyComponentsEndpointOptions> -> Microsoft.AspNetCore.Builder.RazorComponentsEndpointConventionBuilder
<Extension()>
Public Function AddInteractiveWebAssemblyRenderMode (builder As RazorComponentsEndpointConventionBuilder, Optional callback As Action(Of WebAssemblyComponentsEndpointOptions) = Nothing) As RazorComponentsEndpointConventionBuilder

Parametry

Návraty

Hodnota RazorComponentsEndpointConventionBuilder

Platí pro