Sdílet prostřednictvím


ServerSideBlazorBuilderExtensions.AddHubOptions Metoda

Definice

Přidá možnosti centra pro konfiguraci centra SignalR, kterou používá 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

Parametry

configure
Action<HubOptions>

Zpětné volání pro konfiguraci možností centra.

Návraty

Hodnota IServerSideBlazorBuilder

Platí pro