MethodExtensions::Matches Method

.NET Framework 4.5

Specifies whether a method extension matches another method descriptor.

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

[ExtensionAttribute]
public:
static bool Matches(
	MethodDescriptor^ methodDescriptor, 
	IList<IJsonValue^>^ parameters
)

Parameters

methodDescriptor
Type: Microsoft.AspNet.SignalR.Hubs::MethodDescriptor
The method descriptor.
parameters
Type: System.Collections.Generic::IList<IJsonValue>
The list of parameters.

Return Value

Type: System::Boolean
true if a method extension matches another method descriptor; otherwise; false.

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.118).aspx or https://msdn.microsoft.com/en-us/library/bb383977(v=vs.118).aspx.
Show: