Spring.NET 1.3.0 RC1 for .NET 2.0 API Reference

ObjectDefinitionReaderUtils.CreateEventHandlerValue Method

Factory method for getting concrete IEventHandlerValue instances.

[Visual Basic]
Public Shared Sub CreateEventHandlerValue( _
   ByVal methodName As String, _
   ByVal eventName As String _
)
[C#]
public static IEventHandlerValue CreateEventHandlerValue(
   string methodName,
   string eventName
);

Parameters

methodName
The name of the event handler method. This may be straight text, a regular expression, a null reference (Nothing in Visual Basic), or empty.
eventName
The name of the event being wired. This too may be straight text, a regular expression, a null reference (Nothing in Visual Basic), or empty.

Return Value

A concrete IEventHandlerValue instance.

See Also

ObjectDefinitionReaderUtils Class | Spring.Objects.Factory.Support Namespace