Spring.NET 1.3.0 RC1 for .NET 2.0 API Reference

IAutowireCandidateResolver.IsAutowireCandidate Method

Determines whether the given object definition qualifies as an autowire candidate for the given dependency.

[Visual Basic]
Public Sub IsAutowireCandidate( _
   ByVal odHolder As ObjectDefinitionHolder, _
   ByVal descriptor As DependencyDescriptor _
bool IsAutowireCandidate(
   ObjectDefinitionHolder odHolder,
   DependencyDescriptor descriptor


The object definition including object name and aliases.
The descriptor for the target method parameter or field.

Return Value

true if the object definition qualifies as autowire candidate; otherwise, false.

See Also

IAutowireCandidateResolver Interface | Spring.Objects.Factory.Support Namespace