Spring.NET 1.3.0 RC1 for .NET 2.0 API Reference

ContextHandler.Create Method

Creates an IApplicationContext instance using the context definitions supplied in a custom configuration section.

[Visual Basic]
Public NotOverridable Sub Create( _
   ByVal parent As Object, _
   ByVal configContext As Object, _
   ByVal section As XmlNode _
) _
    Implements IConfigurationSectionHandler.Create
[C#]
public object Create(
   object parent,
   object configContext,
   XmlNode section
);

Parameters

parent
The configuration settings in a corresponding parent configuration section.
configContext
The configuration context when called from the ASP.NET configuration system. Otherwise, this parameter is reserved and is a null reference (Nothing in Visual Basic).
section
The XmlNode for the section.

Return Value

An IApplicationContext instance populated with the object definitions supplied in the configuration section.

Implements

IConfigurationSectionHandler.Create

Remarks

This IApplicationContext instance is also used to configure the ContextRegistry.

See Also

ContextHandler Class | Spring.Context.Support Namespace