IHubManager.GetHubs Method

.NET Framework 4

Retrieves all available hubs matching the given predicate.

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

Syntax

'Declaration
Function GetHubs ( _
    predicate As Func(Of HubDescriptor, Boolean) _
) As IEnumerable(Of HubDescriptor)
'Usage
Dim instance As IHubManager 
Dim predicate As Func(Of HubDescriptor, Boolean)
Dim returnValue As IEnumerable(Of HubDescriptor)

returnValue = instance.GetHubs(predicate)
IEnumerable<HubDescriptor> GetHubs(
    Func<HubDescriptor, bool> predicate
)
IEnumerable<HubDescriptor^>^ GetHubs(
    Func<HubDescriptor^, bool>^ predicate
)
abstract GetHubs : 
        predicate:Func<HubDescriptor, bool> -> IEnumerable<HubDescriptor> 
function GetHubs(
    predicate : Func<HubDescriptor, boolean>
) : IEnumerable<HubDescriptor>

Parameters

Return Value

Type: System.Collections.Generic.IEnumerable<HubDescriptor>
List of hub descriptors.

See Also

Reference

IHubManager Interface

Microsoft.AspNet.SignalR.Hubs Namespace