public XmlApplicationContext ( Spring.Context.Support.XmlApplicationContextArgs args ) : Spring.Core.IO | ||
args | Spring.Context.Support.XmlApplicationContextArgs | |
Résultat | Spring.Core.IO |
public XmlApplicationContext(XmlApplicationContextArgs args)
: base(args.Name, args.CaseSensitive, args.ParentContext)
{
_configurationLocations = args.ConfigurationLocations;
_configurationResources = args.ConfigurationResources;
if (args.Refresh)
{
bool hasLocations = args.ConfigurationLocations.Length > 0;
bool hasResources = args.ConfigurationResources.Length > 0;
if (!hasLocations && !hasResources)
throw new ArgumentException("You must provide either or both Configuration Locations and/or Configuration Resources!");
if (hasLocations || hasResources)
{
Refresh();
}
}
}
XmlApplicationContext::XmlApplicationContext ( ) : Spring.Core.IO | |
XmlApplicationContext::XmlApplicationContext ( IApplicationContext parentContext ) : Spring.Core.IO | |
XmlApplicationContext::XmlApplicationContext ( bool caseSensitive ) : Spring.Core.IO | |
XmlApplicationContext::XmlApplicationContext ( bool caseSensitive, IApplicationContext parentContext ) : Spring.Core.IO | |
XmlApplicationContext::XmlApplicationContext ( bool refresh, string name, bool caseSensitive, IApplicationContext parentContext ) : Spring.Core.IO | |
XmlApplicationContext::XmlApplicationContext ( bool refresh, string name, bool caseSensitive, IApplicationContext parentContext, string configurationLocations, IResource configurationResources ) : Spring.Core.IO | |
XmlApplicationContext::XmlApplicationContext ( string name, bool caseSensitive ) : Spring.Core.IO | |
XmlApplicationContext::XmlApplicationContext ( string name, bool caseSensitive, IApplicationContext parentContext ) : Spring.Core.IO |