Share via


HubManagerExtensions.GetHubs Method

.NET Framework 4

Namespace:  Microsoft.AspNet.SignalR.Hubs
Assembly:  Microsoft.AspNet.SignalR.Core (in Microsoft.AspNet.SignalR.Core.dll)

Syntax

'Declaration
<ExtensionAttribute> _
Public Shared Function GetHubs ( _
    hubManager As IHubManager _
) As IEnumerable(Of HubDescriptor)
'Usage
Dim hubManager As IHubManager 
Dim returnValue As IEnumerable(Of HubDescriptor)

returnValue = hubManager.GetHubs()
public static IEnumerable<HubDescriptor> GetHubs(
    this IHubManager hubManager
)
[ExtensionAttribute]
public:
static IEnumerable<HubDescriptor^>^ GetHubs(
    IHubManager^ hubManager
)
static member GetHubs : 
        hubManager:IHubManager -> IEnumerable<HubDescriptor> 
public static function GetHubs(
    hubManager : IHubManager
) : IEnumerable<HubDescriptor>

Parameters

Return Value

Type: System.Collections.Generic.IEnumerable<HubDescriptor>
Returns IEnumerable<T>.

Usage Note

In Visual Basic and C#, you can call this method as an instance method on any object of type IHubManager. When you use instance method syntax to call this method, omit the first parameter. For more information, see https://msdn.microsoft.com/en-us/library/bb384936(v=vs.100) or https://msdn.microsoft.com/en-us/library/bb383977(v=vs.100).

See Also

Reference

HubManagerExtensions Class

Microsoft.AspNet.SignalR.Hubs Namespace