Spring.NET 1.3.0 RC1 for .NET 2.0 API Reference

XmlApplicationContext Constructor

Creates a new instance of the XmlApplicationContext class, loading the definitions from the supplied XML resource locations, with the given parentContext.

[Visual Basic]
Public Overloads Sub New( _
   ByVal refresh As Boolean, _
   ByVal name As String, _
   ByVal caseSensitive As Boolean, _
   ByVal parentContext As IApplicationContext, _
   ParamArray configurationLocations As String _
)
[C#]
XmlApplicationContext(
   bool refresh,
   string name,
   bool caseSensitive,
   IApplicationContext parentContext,
   params string[] configurationLocations
);

Parameters

refresh
if true, Refresh is called automatically.
name
The application context name.
caseSensitive
Flag specifying whether to make this context case sensitive or not.
parentContext
The parent context (may be a null reference (Nothing in Visual Basic)).
configurationLocations
Any number of XML based object definition resource locations.

Remarks

This constructor is meant to be used by derived classes. By passing refresh=false, it is the responsibility of the deriving class to call Refresh to initialize the context instance.

See Also

XmlApplicationContext Class | Spring.Context.Support Namespace | XmlApplicationContext Constructor Overload List