Share via


HubOptionsSetup(IEnumerable<IHubProtocol>) Constructor

Definition

Constructs the HubOptionsSetup with a list of protocols added to Dependency Injection.

public:
 HubOptionsSetup(System::Collections::Generic::IEnumerable<Microsoft::AspNetCore::SignalR::Protocol::IHubProtocol ^> ^ protocols);
public HubOptionsSetup (System.Collections.Generic.IEnumerable<Microsoft.AspNetCore.SignalR.Protocol.IHubProtocol> protocols);
new Microsoft.AspNetCore.SignalR.HubOptionsSetup : seq<Microsoft.AspNetCore.SignalR.Protocol.IHubProtocol> -> Microsoft.AspNetCore.SignalR.HubOptionsSetup
Public Sub New (protocols As IEnumerable(Of IHubProtocol))

Parameters

protocols
IEnumerable<IHubProtocol>

The list of IHubProtocols that are from Dependency Injection.

Applies to