Spring.NET 1.3.0 RC1 for .NET 2.0 API Reference

SingletonTargetSource Constructor

Creates a new instance of the SingletonTargetSource for the specified target object.

[Visual Basic]
Public Overloads Sub New( _
   ByVal target As Object, _
   ByVal targetType As Type _
)
[C#]
SingletonTargetSource(
   object target,
   Type targetType
);

Parameters

target
The target object to expose.
targetType
The type of target to expose.

Exceptions

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

See Also

SingletonTargetSource Class | Spring.Aop.Target Namespace | SingletonTargetSource Constructor Overload List