Compartir a través de


ComponentServiceCollectionExtensions.AddServerSideBlazor Método

Definición

Agrega Server-Side servicios blazor a la colección de servicios.

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

Parámetros

configure
Action<CircuitOptions>

Devolución de llamada para configurar CircuitOptions.

Devoluciones

que IServerSideBlazorBuilder se puede usar para personalizar aún más la configuración.

Se aplica a