Spring.NET 1.3.0 RC1 for .NET 2.0 API Reference

InstantiationAwareObjectPostProcessorAdapter.DetermineCandidateConstructors Method

Determines the candidate constructors to use for the given object.

[Visual Basic]
Public Overridable Sub DetermineCandidateConstructors( _
   ByVal objectType As Type, _
   ByVal objectName As String _
) _
    Implements SmartInstantiationAwareObjectPostProcessor.DetermineCandidateConstructors
[C#]
public virtual ConstructorInfo[] DetermineCandidateConstructors(
   Type objectType,
   string objectName
);

Parameters

objectType
The raw Type of the object.
objectName
Name of the object.

Return Value

The candidate constructors, or

null
if none specified

Implements

SmartInstantiationAwareObjectPostProcessor.DetermineCandidateConstructors

Exceptions

Exception Type Condition
ObjectsException in case of errors

See Also

InstantiationAwareObjectPostProcessorAdapter Class | Spring.Objects.Factory.Config Namespace