ServerSideBlazorBuilderExtensions.AddCircuitOptions 方法

定义

添加用于配置线路的选项。

public static Microsoft.Extensions.DependencyInjection.IServerSideBlazorBuilder AddCircuitOptions (this Microsoft.Extensions.DependencyInjection.IServerSideBlazorBuilder builder, Action<Microsoft.AspNetCore.Components.Server.CircuitOptions> configure);
static member AddCircuitOptions : Microsoft.Extensions.DependencyInjection.IServerSideBlazorBuilder * Action<Microsoft.AspNetCore.Components.Server.CircuitOptions> -> Microsoft.Extensions.DependencyInjection.IServerSideBlazorBuilder
<Extension()>
Public Function AddCircuitOptions (builder As IServerSideBlazorBuilder, configure As Action(Of CircuitOptions)) As IServerSideBlazorBuilder

参数

configure
Action<CircuitOptions>

用于配置 CircuitOptions的回调。

返回

IServerSideBlazorBuilder

适用于