Spring.NET 1.3.0 RC1 for .NET 2.0 API Reference

ContextRegistry.GetContext() Method

Returns the root application context.

[Visual Basic]
Public Overloads Shared Sub GetContext()
public static IApplicationContext GetContext();

Return Value

The root application context.


The first call to GetContext will create the context as specified in the .NET application configuration file under the location spring/context.

See Also

ContextRegistry Class | Spring.Context.Support Namespace | ContextRegistry.GetContext Overload List