Spring.NET 1.3.0 RC1 for .NET 2.0 API Reference

WebDependencyInjectionUtils.InjectDependenciesRecursive Method

Injects dependencies into all controls in the hierarchy based on template definitions in the Spring config file.

[Visual Basic]
Public Shared Sub InjectDependenciesRecursive( _
   ByVal applicationContext As IApplicationContext, _
   ByVal control As Control _
)
[C#]
public static Control InjectDependenciesRecursive(
   IApplicationContext applicationContext,
   Control control
);

Parameters

applicationContext
ApplicationContext to be used
control
Control to inject dependencies into.

See Also

WebDependencyInjectionUtils Class | Spring.Web.Support Namespace