Spring.NET 1.3.0 RC1 for .NET 2.0 API Reference

AutowireUtils.GetConstructors Method

Gets those ConstructorInfos that are applicable for autowiring the supplied definition.

[Visual Basic]
Public Shared Sub GetConstructors( _
   ByVal definition As IObjectDefinition, _
   ByVal minimumArgumentCount As Integer _
)
[C#]
public static ConstructorInfo[] GetConstructors(
   IObjectDefinition definition,
   int minimumArgumentCount
);

Parameters

definition
The IObjectDefinition (definition) that is being autowired by constructor.
minimumArgumentCount
The absolute minimum number of arguments that any returned constructor must have. If this parameter is equal to zero (0), then all constructors are valid (regardless of their argument count), including any default constructor.

Return Value

Those ConstructorInfos that are applicable for autowiring the supplied definition.

See Also

AutowireUtils Class | Spring.Objects.Factory.Support Namespace