public RegularConfigSource() { this.appConfigurationSection = new EAppConfigurationSection(); this.appConfigurationSection.Application = new CurrentApplicationElement(); this.appConfigurationSection.ObjectContainer = new CurrentObjectContainerElement(); this.appConfigurationSection.Logger = new CurrentLoggerElement(); this.appConfigurationSection.PluginContainer = new PluginContainerElement(); this.appConfigurationSection.PluginContainer.Host = new PluginHostElement(); this.appConfigurationSection.PluginContainer.Host.ServiceProvider = new SingleProviderElement(); this.appConfigurationSection.PluginContainer.Host.PluginProvider = new SingleProviderElement(); this.appConfigurationSection.PluginContainer.PluginRegisters = new PluginRegisterElementCollection(); this.appConfigurationSection.MiscSettings = new MiscSettingElementCollection(); this.appConfigurationSection.ResourceManagers = new ResourceElementCollection(); }
private void LoadConfig() { this.configurationSection = (EAppConfigurationSection)ConfigurationManager.GetSection(defaultConfigSectionName); }