Spring.NET 1.3.0 RC1 for .NET 2.0 API Reference

ObjectDefinitionConstants.ConstructorArgElement Field

A constructor argument : the constructor-arg tag can have an optional type attribute, to specify the exact type of the constructor argument

[Visual Basic]
Public Const ConstructorArgElement As String = constructor-arg
public const string ConstructorArgElement = constructor-arg;


Only needed to avoid ambiguities, e.g. in case of 2 single argument constructors that can both be converted from a String.

See Also

ObjectDefinitionConstants Class | Spring.Objects.Factory.Xml Namespace