Spring.NET 1.3.0 RC1 for .NET 2.0 API Reference

LookupMethodReplacer Constructor

Creates a new instance of the LookupMethodReplacer class.

[Visual Basic]
Public Sub New( _
   ByVal objectDefinition As IConfigurableObjectDefinition, _
   ByVal objectFactory As IObjectFactory _
)
[C#]
LookupMethodReplacer(
   IConfigurableObjectDefinition objectDefinition,
   IObjectFactory objectFactory
);

Parameters

objectDefinition
The object definition that is the target of the method replacement.
objectFactory
The enclosing IoC container with which the above objectDefinition is associated.

Exceptions

Exception Type Condition
ArgumentNullException If either of the supplied arguments is a null reference (Nothing in Visual Basic).

See Also

LookupMethodReplacer Class | Spring.Objects.Factory.Support Namespace