共用方式為


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

適用於