Spring.NET 1.3.0 RC1 for .NET 2.0 API Reference

ReplacedMethodOverride.AddTypeIdentifier Method

Add a fragment of a Type instance's FullName such as 'Exception or System.Excep to identify an argument Type for a dependency injected method.

[Visual Basic]
Public Sub AddTypeIdentifier( _
   ByVal identifier As String _
)
[C#]
public void AddTypeIdentifier(
   string identifier
);

Parameters

identifier
A (sub) string of a Type instance's FullName.

Exceptions

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

See Also

ReplacedMethodOverride Class | Spring.Objects.Factory.Support Namespace