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 回呼。