Spring.NET 1.3.0 RC1 for .NET 2.0 API Reference

SimpleAutowireCandidateResolver.IsAutowireCandidate Method

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

[Visual Basic]
Public NotOverridable Sub IsAutowireCandidate( _
   ByVal odHolder As ObjectDefinitionHolder, _
   ByVal descriptor As DependencyDescriptor _
) _
    Implements IAutowireCandidateResolver.IsAutowireCandidate
[C#]
public bool IsAutowireCandidate(
   ObjectDefinitionHolder odHolder,
   DependencyDescriptor descriptor
);

Parameters

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

Return Value

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

Implements

IAutowireCandidateResolver.IsAutowireCandidate

See Also

SimpleAutowireCandidateResolver Class | Spring.Objects.Factory.Support Namespace