WebAssemblyRazorComponentsEndpointConventionBuilderExtensions.AddInteractiveWebAssemblyRenderMode 方法

定义

将应用程序配置为支持 InteractiveWebAssembly 呈现模式。

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

参数

返回

RazorComponentsEndpointConventionBuilder

适用于