Spring.NET 1.3.0 RC1 for .NET 2.0 API Reference

ConstructorArgumentValues.GetGenericArgumentValue(Type, ISet) Method

Look for a generic argument value that matches the given Type.

[Visual Basic]
Public Overridable Overloads Sub GetGenericArgumentValue( _
   ByVal requiredType As Type, _
   ByVal usedValues As ISet _
)
[C#]
public virtual ValueHolder GetGenericArgumentValue(
   Type requiredType,
   ISet usedValues
);

Parameters

requiredType
The Type to match.
usedValues
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 set.

See Also

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