HubOptionsSetup<THub>(IOptions<HubOptions>) Construtor

Definição

Constrói a classe de configuração de opções.

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))

Parâmetros

options
IOptions<HubOptions>

O global HubOptions da Injeção de Dependência.

Aplica-se a