DefaultHubManager.GetHubs Method
.NET Framework 4
Namespace: Microsoft.AspNet.SignalR.Hubs
Assembly: Microsoft.AspNet.SignalR.Core (in Microsoft.AspNet.SignalR.Core.dll)
Syntax
'Declaration
Public Function GetHubs ( _
predicate As Func(Of HubDescriptor, Boolean) _
) As IEnumerable(Of HubDescriptor)
'Usage
Dim instance As DefaultHubManager
Dim predicate As Func(Of HubDescriptor, Boolean)
Dim returnValue As IEnumerable(Of HubDescriptor)
returnValue = instance.GetHubs(predicate)
public IEnumerable<HubDescriptor> GetHubs(
Func<HubDescriptor, bool> predicate
)
public:
virtual IEnumerable<HubDescriptor^>^ GetHubs(
Func<HubDescriptor^, bool>^ predicate
) sealed
abstract GetHubs :
predicate:Func<HubDescriptor, bool> -> IEnumerable<HubDescriptor>
override GetHubs :
predicate:Func<HubDescriptor, bool> -> IEnumerable<HubDescriptor>
public final function GetHubs(
predicate : Func<HubDescriptor, boolean>
) : IEnumerable<HubDescriptor>
Parameters
- predicate
Type: System.Func<HubDescriptor, Boolean>
Return Value
Type: System.Collections.Generic.IEnumerable<HubDescriptor>
Returns IEnumerable<T>.
Implements
IHubManager.GetHubs(Func<HubDescriptor, Boolean>)