Condividi tramite


ServerRazorComponentsBuilderExtensions.AddInteractiveServerComponents Metodo

Definizione

Aggiunge servizi per supportare il rendering di componenti server interattivi in un'applicazione razor components.

public static Microsoft.Extensions.DependencyInjection.IServerSideBlazorBuilder AddInteractiveServerComponents (this Microsoft.Extensions.DependencyInjection.IRazorComponentsBuilder builder, Action<Microsoft.AspNetCore.Components.Server.CircuitOptions>? configure = default);
static member AddInteractiveServerComponents : Microsoft.Extensions.DependencyInjection.IRazorComponentsBuilder * Action<Microsoft.AspNetCore.Components.Server.CircuitOptions> -> Microsoft.Extensions.DependencyInjection.IServerSideBlazorBuilder
<Extension()>
Public Function AddInteractiveServerComponents (builder As IRazorComponentsBuilder, Optional configure As Action(Of CircuitOptions) = Nothing) As IServerSideBlazorBuilder

Parametri

configure
Action<CircuitOptions>

Callback per configurare CircuitOptions.

Restituisce

Oggetto IRazorComponentsBuilder che può essere usato per personalizzare ulteriormente la configurazione.

Si applica a