WebAssemblyRazorComponentsEndpointConventionBuilderExtensions.AddInteractiveWebAssemblyRenderMode 方法
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
将应用程序配置为支持 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
参数
- callback
- Action<WebAssemblyComponentsEndpointOptions>
返回
RazorComponentsEndpointConventionBuilder。