Spring.NET 1.3.0 RC1 for .NET 2.0 API Reference

ConstructorArgumentValues.AddNamedArgumentValue Method

Add argument value for the given name in the constructor argument list.

[Visual Basic]
Public Overridable Sub AddNamedArgumentValue( _
   ByVal name As String, _
   ByVal value As Object _
)
[C#]
public virtual void AddNamedArgumentValue(
   string name,
   object value
);

Parameters

name
The name in the constructor argument list.
value
The argument value.

Exceptions

Exception Type Condition
ArgumentException If the supplied name is a null reference (Nothing in Visual Basic) or is composed wholly of whitespace.

See Also

ConstructorArgumentValues Class | Spring.Objects.Factory.Config Namespace