Udostępnij za pośrednictwem


ServerSideBlazorBuilderExtensions.AddCircuitOptions Metoda

Definicja

Dodaje opcje konfigurowania obwodów.

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

Parametry

configure
Action<CircuitOptions>

Wywołanie zwrotne do skonfigurowania elementu CircuitOptions.

Zwraca

Element IServerSideBlazorBuilder.

Dotyczy