Megosztás a következőn keresztül:


HubOptionsSetup<THub>(IOptions<HubOptions>) Constructor

Definition

Constructs the options configuration class.

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

Parameters

options
IOptions<HubOptions>

The global HubOptions from Dependency Injection.

Applies to