Spring.NET 1.3.0 RC1 for .NET 2.0 API Reference

AbstractWiringEventHandlerValue.ResolveHandlerMethod Method

Resolves the method metadata that describes the method that is to be used as the argument to a delegate constructor.

[Visual Basic]
Protected Overridable Sub ResolveHandlerMethod( _
   ByVal handlerType As Type, _
   ByVal delegateType As Type, _
   ByVal flags As BindingFlags _
)
[C#]
protected virtual MethodInfo ResolveHandlerMethod(
   Type handlerType,
   Type delegateType,
   BindingFlags flags
);

Parameters

handlerType
The Type exposing the method.
delegateType
The Type of the delegate (e.g. System.EventHandler).
flags
The custom binding flags to use when searching for the method.

Return Value

The method metadata.

Exceptions

Exception Type Condition
FatalObjectException If the method could not be found.

See Also

AbstractWiringEventHandlerValue Class | Spring.Objects.Support Namespace