internal Configuration (InternalConfigurationSystem system, string locationSubPath) { hasFile = true; this.system = system; system.InitForConfiguration (ref locationSubPath, out configPath, out locationConfigPath); Configuration parent = null; if (locationSubPath != null) { parent = new Configuration (system, locationSubPath); if (locationConfigPath != null) parent = parent.FindLocationConfiguration (locationConfigPath, parent); } Init (system, configPath, parent); }
internal Configuration(InternalConfigurationSystem system, string locationSubPath) { hasFile = true; this.system = system; system.InitForConfiguration(ref locationSubPath, out configPath, out locationConfigPath); Configuration parent = null; if (locationSubPath != null) { parent = new Configuration(system, locationSubPath); if (locationConfigPath != null) { parent = parent.FindLocationConfiguration(locationConfigPath, parent); } } Init(system, configPath, parent); }
public Configuration Create (Type typeConfigHost, params object[] hostInitConfigurationParams) { InternalConfigurationSystem system = new InternalConfigurationSystem (); system.Init (typeConfigHost, hostInitConfigurationParams); return new Configuration (system, null); }