Spring.NET 1.3.0 RC1 for .NET 2.0 API Reference

EventManipulationUtils.GetMethodInfoMatchingSignature Method

Queries the input type for a MethodInfo signature matching the input MethodInfo signature.

[Visual Basic]
Public Shared Sub GetMethodInfoMatchingSignature( _
   ByVal invoke As MethodInfo, _
   ByVal subscriberType As Type _
)
[C#]
public static MethodInfo GetMethodInfoMatchingSignature(
   MethodInfo invoke,
   Type subscriberType
);

Parameters

invoke
MethodInfo to match against
subscriberType
Type to query

Return Value

MethodInfo matching input MethodInfo signature, or a null reference (Nothing in Visual Basic) if there is no match.

Remarks

Typically used to query a potential subscriber to see if they implement an event handler.

See Also

EventManipulationUtils Class | Spring.Objects.Events.Support Namespace