Spring.NET 1.3.0 RC1 for .NET 2.0 API Reference

DependencyDescriptor Constructor

Initializes a new instance of the DependencyDescriptor class for a method or a constructor parameter.

[Visual Basic]
Public Overloads Sub New( _
   ByVal methodParameter As MethodParameter, _
   ByVal required As Boolean, _
   ByVal eager As Boolean _
)
[C#]
DependencyDescriptor(
   MethodParameter methodParameter,
   bool required,
   bool eager
);

Parameters

methodParameter
The MethodParameter to wrap.
required
if set to true the dependency is required.
eager
if set to true the dependency is 'eager' in the sense of eagerly resolving potential target objects for type matching.

See Also

DependencyDescriptor Class | Spring.Objects.Factory.Config Namespace | DependencyDescriptor Constructor Overload List