IHubManager.GetHubMethods Method
.NET Framework 4
Gets all methods available to call on a given hub.
Namespace: Microsoft.AspNet.SignalR.Hubs
Assembly: Microsoft.AspNet.SignalR.Core (in Microsoft.AspNet.SignalR.Core.dll)
Syntax
'Declaration
Function GetHubMethods ( _
hubName As String, _
predicate As Func(Of MethodDescriptor, Boolean) _
) As IEnumerable(Of MethodDescriptor)
'Usage
Dim instance As IHubManager
Dim hubName As String
Dim predicate As Func(Of MethodDescriptor, Boolean)
Dim returnValue As IEnumerable(Of MethodDescriptor)
returnValue = instance.GetHubMethods(hubName, _
predicate)
IEnumerable<MethodDescriptor> GetHubMethods(
string hubName,
Func<MethodDescriptor, bool> predicate
)
IEnumerable<MethodDescriptor^>^ GetHubMethods(
String^ hubName,
Func<MethodDescriptor^, bool>^ predicate
)
abstract GetHubMethods :
hubName:string *
predicate:Func<MethodDescriptor, bool> -> IEnumerable<MethodDescriptor>
function GetHubMethods(
hubName : String,
predicate : Func<MethodDescriptor, boolean>
) : IEnumerable<MethodDescriptor>
Parameters
- hubName
Type: System.String
Name of the hub,
- predicate
Type: System.Func<MethodDescriptor, Boolean>
Optional predicate for filtering results.
Return Value
Type: System.Collections.Generic.IEnumerable<MethodDescriptor>
List of available methods.