Spring.NET 1.3.0 RC1 for .NET 2.0 API Reference

ConstructorArgumentValues.GetGenericArgumentValue(Type) Method

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

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

Parameters

requiredType
The Type to match.

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