Share via


DefaultHubManager.GetHubMethods Method

.NET Framework 4

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

Syntax

'Declaration
Public Function GetHubMethods ( _
    hubName As String, _
    predicate As Func(Of MethodDescriptor, Boolean) _
) As IEnumerable(Of MethodDescriptor)
'Usage
Dim instance As DefaultHubManager 
Dim hubName As String 
Dim predicate As Func(Of MethodDescriptor, Boolean)
Dim returnValue As IEnumerable(Of MethodDescriptor)

returnValue = instance.GetHubMethods(hubName, _
    predicate)
public IEnumerable<MethodDescriptor> GetHubMethods(
    string hubName,
    Func<MethodDescriptor, bool> predicate
)
public:
virtual IEnumerable<MethodDescriptor^>^ GetHubMethods(
    String^ hubName, 
    Func<MethodDescriptor^, bool>^ predicate
) sealed
abstract GetHubMethods : 
        hubName:string * 
        predicate:Func<MethodDescriptor, bool> -> IEnumerable<MethodDescriptor> 
override GetHubMethods : 
        hubName:string * 
        predicate:Func<MethodDescriptor, bool> -> IEnumerable<MethodDescriptor> 
public final function GetHubMethods(
    hubName : String, 
    predicate : Func<MethodDescriptor, boolean>
) : IEnumerable<MethodDescriptor>

Parameters

Return Value

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

Implements

IHubManager.GetHubMethods(String, Func<MethodDescriptor, Boolean>)

See Also

Reference

DefaultHubManager Class

Microsoft.AspNet.SignalR.Hubs Namespace