IMethodDescriptorProvider.GetMethods Method
.NET Framework 4
Retrieve all methods on a given hub.
Namespace: Microsoft.AspNet.SignalR.Hubs
Assembly: Microsoft.AspNet.SignalR.Core (in Microsoft.AspNet.SignalR.Core.dll)
Syntax
'Declaration
Function GetMethods ( _
hub As HubDescriptor _
) As IEnumerable(Of MethodDescriptor)
'Usage
Dim instance As IMethodDescriptorProvider
Dim hub As HubDescriptor
Dim returnValue As IEnumerable(Of MethodDescriptor)
returnValue = instance.GetMethods(hub)
IEnumerable<MethodDescriptor> GetMethods(
HubDescriptor hub
)
IEnumerable<MethodDescriptor^>^ GetMethods(
HubDescriptor^ hub
)
abstract GetMethods :
hub:HubDescriptor -> IEnumerable<MethodDescriptor>
function GetMethods(
hub : HubDescriptor
) : IEnumerable<MethodDescriptor>
Parameters
- hub
Type: Microsoft.AspNet.SignalR.Hubs.HubDescriptor
Hub descriptor object.
Return Value
Type: System.Collections.Generic.IEnumerable<MethodDescriptor>
Available methods.