Spring.NET 1.3.0 RC1 for .NET 2.0 API Reference

ConstructorArgumentValues.GetIndexedArgumentValue Method

Get argument value for the given index in the constructor argument list.

[Visual Basic]
Public Overridable Sub GetIndexedArgumentValue( _
   ByVal index As Integer, _
   ByVal requiredType As Type _
)
[C#]
public virtual ValueHolder GetIndexedArgumentValue(
   int index,
   Type requiredType
);

Parameters

index
The index in the constructor argument list.
requiredType
The required Type of the argument.

Return Value

The ConstructorArgumentValues.ValueHolder for the argument, or a null reference (Nothing in Visual Basic) if none set.

See Also

ConstructorArgumentValues Class | Spring.Objects.Factory.Config Namespace