Spring.NET 1.3.0 RC1 for .NET 2.0 API Reference

IConfigurableObjectFactory.IgnoreDependencyType Method

Ignore the given dependency type for autowiring.

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

Parameters

type
The Type to be ignored.

Remarks

To be invoked during factory configuration.

This will typically be used for dependencies that are resolved in other ways, like IObjectFactory through IObjectFactoryAware.

See Also

IConfigurableObjectFactory Interface | Spring.Objects.Factory.Config Namespace