ServerSideBlazorBuilderExtensions.AddCircuitOptions 方法
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
添加用于配置线路的选项。
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的回调。