ServerSideBlazorBuilderExtensions.AddHubOptions Metodo

Definizione

Aggiunge le opzioni dell'hub per la configurazione dell'hub SignalR usato da Server-Side Blazor.

public static Microsoft.Extensions.DependencyInjection.IServerSideBlazorBuilder AddHubOptions (this Microsoft.Extensions.DependencyInjection.IServerSideBlazorBuilder builder, Action<Microsoft.AspNetCore.SignalR.HubOptions> configure);
static member AddHubOptions : Microsoft.Extensions.DependencyInjection.IServerSideBlazorBuilder * Action<Microsoft.AspNetCore.SignalR.HubOptions> -> Microsoft.Extensions.DependencyInjection.IServerSideBlazorBuilder
<Extension()>
Public Function AddHubOptions (builder As IServerSideBlazorBuilder, configure As Action(Of HubOptions)) As IServerSideBlazorBuilder

Parametri

configure
Action<HubOptions>

Callback per configurare le opzioni dell'hub.

Restituisce

Oggetto IServerSideBlazorBuilder.

Si applica a