Spring.NET 1.3.0 RC1 for .NET 2.0 API Reference

ReplacedMethodOverride Constructor

Creates a new instance of the ReplacedMethodOverride class.

[Visual Basic]
Public Sub New( _
   ByVal methodName As String, _
   ByVal methodReplacerObjectName As String _
)
[C#]
ReplacedMethodOverride(
   string methodName,
   string methodReplacerObjectName
);

Parameters

methodName
The name of the method that is to be overridden.
methodReplacerObjectName
The object name of the IMethodReplacer instance in the surrounding IoC container.

Exceptions

Exception Type Condition
ArgumentNullException If either of the supplied arguments is a null reference (Nothing in Visual Basic) or contains only whitespace character(s).

See Also

ReplacedMethodOverride Class | Spring.Objects.Factory.Support Namespace