Spring.NET 1.3.0 RC1 for .NET 2.0 API Reference

AbstractDependencyInjectionSpringContextTests.InjectDependencies Method

Inject dependencies into 'this' instance (that is, this test instance).

[Visual Basic]
Protected Overridable Sub InjectDependencies()
[C#]
protected virtual void InjectDependencies();

Remarks

The default implementation populates protected variables if the PopulateProtectedVariables property is set, else uses autowiring if autowiring is switched on (which it is by default).

You can certainly override this method if you want to totally control how dependencies are injected into 'this' instance.

See Also

AbstractDependencyInjectionSpringContextTests Class | Spring.Testing.NUnit Namespace