Partager via


HubOptionsSetup<THub>(IOptions<HubOptions>) Constructeur

Définition

Construit la classe de configuration options.

public:
 HubOptionsSetup(Microsoft::Extensions::Options::IOptions<Microsoft::AspNetCore::SignalR::HubOptions ^> ^ options);
public HubOptionsSetup (Microsoft.Extensions.Options.IOptions<Microsoft.AspNetCore.SignalR.HubOptions> options);
new Microsoft.AspNetCore.SignalR.HubOptionsSetup<'Hub (requires 'Hub :> Microsoft.AspNetCore.SignalR.Hub)> : Microsoft.Extensions.Options.IOptions<Microsoft.AspNetCore.SignalR.HubOptions> -> Microsoft.AspNetCore.SignalR.HubOptionsSetup<'Hub (requires 'Hub :> Microsoft.AspNetCore.SignalR.Hub)>
Public Sub New (options As IOptions(Of HubOptions))

Paramètres

options
IOptions<HubOptions>

Global HubOptions de l’injection de dépendances.

S’applique à