Spring.NET 1.3.0 RC1 for .NET 2.0 API Reference

ConstructorArgumentValues.GetArgumentValue(String, Type, ISet) Method

Look for an argument value that either corresponds to the given index in the constructor argument list or generically matches by Type.

[Visual Basic]
Public Overridable Overloads Sub GetArgumentValue( _
   ByVal name As String, _
   ByVal requiredType As Type, _
   ByVal usedValues As ISet _
public virtual ValueHolder GetArgumentValue(
   string name,
   Type requiredType,
   ISet usedValues


The name of the argument in the constructor argument list. May be a null reference (Nothing in Visual Basic), in which case generic matching by Type is assumed.
The Type to match.
A ISet of ConstructorArgumentValues.ValueHolder objects that have already been used in the current resolution process and should therefore not be returned again; this allows one to return the next generic argument match in the case of multiple generic argument values of the same type.

Return Value

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

See Also

ConstructorArgumentValues Class | Spring.Objects.Factory.Config Namespace | ConstructorArgumentValues.GetArgumentValue Overload List