Spring.NET 1.3.0 RC1 for .NET 2.0 API Reference

AbstractAutowireCapableObjectFactory.IgnoreDependencyInterface Method

Ignore the given dependency type for autowiring

[Visual Basic]
Public Sub IgnoreDependencyInterface( _
   ByVal type As Type _
)
[C#]
public void IgnoreDependencyInterface(
   Type type
);

Remarks

This will typically be used by application contexts to register dependencies that are resolved in other ways, like IOjbectFactory through IObjectFactoryAware or IApplicationContext through IApplicationContextAware. By default, IObjectFactoryAware and IObjectName interfaces are ignored. For further types to ignore, invoke this method for each type.

See Also

AbstractAutowireCapableObjectFactory Class | Spring.Objects.Factory.Support Namespace | IgnoreDependencyType