MethodExtensions.Matches Method
.NET Framework 4
Namespace: Microsoft.AspNet.SignalR.Hubs
Assembly: Microsoft.AspNet.SignalR.Core (in Microsoft.AspNet.SignalR.Core.dll)
Syntax
'Declaration
<ExtensionAttribute> _
Public Shared Function Matches ( _
methodDescriptor As MethodDescriptor, _
parameters As IList(Of IJsonValue) _
) As Boolean
'Usage
Dim methodDescriptor As MethodDescriptor
Dim parameters As IList(Of IJsonValue)
Dim returnValue As Boolean
returnValue = methodDescriptor.Matches(parameters)
public static bool Matches(
this MethodDescriptor methodDescriptor,
IList<IJsonValue> parameters
)
[ExtensionAttribute]
public:
static bool Matches(
MethodDescriptor^ methodDescriptor,
IList<IJsonValue^>^ parameters
)
static member Matches :
methodDescriptor:MethodDescriptor *
parameters:IList<IJsonValue> -> bool
public static function Matches(
methodDescriptor : MethodDescriptor,
parameters : IList<IJsonValue>
) : boolean
Parameters
- methodDescriptor
Type: Microsoft.AspNet.SignalR.Hubs.MethodDescriptor
- parameters
Type: System.Collections.Generic.IList<IJsonValue>
Return Value
Type: System.Boolean
Usage Note
In Visual Basic and C#, you can call this method as an instance method on any object of type MethodDescriptor. When you use instance method syntax to call this method, omit the first parameter. For more information, see https://msdn.microsoft.com/en-us/library/bb384936(v=vs.100) or https://msdn.microsoft.com/en-us/library/bb383977(v=vs.100).