ServerRazorComponentsBuilderExtensions.AddInteractiveServerComponents Méthode

Définition

Ajoute des services pour prendre en charge le rendu des composants serveur interactifs dans une application 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

Paramètres

configure
Action<CircuitOptions>

Rappel pour configurer CircuitOptions.

Retours

IRazorComponentsBuilder qui peut être utilisé pour personnaliser davantage la configuration.

S’applique à