internal ManageableConfigurationSourceImplementation(string configurationFilePath, IManageabilityHelper manageabilityHelper, IGroupPolicyWatcher groupPolicyWatcher, ConfigurationChangeWatcherCoordinator watcherCoordinator, ConfigurationChangeNotificationCoordinator notificationCoordinator) { this.configurationUpdateLock = new object(); this.fileMap = new ExeConfigurationFileMap(); this.fileMap.ExeConfigFilename = configurationFilePath; this.manageabilityHelper = manageabilityHelper; this.notificationCoordinator = notificationCoordinator; this.AttachGroupPolicyWatcher(groupPolicyWatcher); this.AttachWatcherCoordinator(watcherCoordinator); this.InitializeConfiguration(); }
internal ManageableConfigurationSourceImplementation(string configurationFilePath, IManageabilityHelper manageabilityHelper, IGroupPolicyWatcher groupPolicyWatcher, ConfigurationChangeWatcherCoordinator watcherCoordinator, ConfigurationChangeNotificationCoordinator notificationCoordinator) { this.fileMap = new ExeConfigurationFileMap(); this.fileMap.ExeConfigFilename = configurationFilePath; this.manageabilityHelper = manageabilityHelper; this.notificationCoordinator = notificationCoordinator; AttachGroupPolicyWatcher(groupPolicyWatcher); AttachWatcherCoordinator(watcherCoordinator); InitializeConfiguration(); }
/// <summary> /// Initialize a new instance o the <see cref="ManageableConfigurationSourceImplementation"/> class. /// </summary> /// <param name="configurationFilePath">The configuration file path.</param> /// <param name="manageabilityHelper">The <see cref="IManageabilityHelper"/> to use.</param> /// <param name="groupPolicyWatcher">The <see cref="IGroupPolicyWatcher"/> to use.</param> /// <param name="watcherCoordinator">The <see cref="ConfigurationChangeWatcherCoordinator"/> to use.</param> /// <param name="notificationCoordinator">The <see cref="ConfigurationChangeNotificationCoordinator"/> to use.</param> public ManageableConfigurationSourceImplementation(string configurationFilePath, IManageabilityHelper manageabilityHelper, IGroupPolicyWatcher groupPolicyWatcher, ConfigurationChangeWatcherCoordinator watcherCoordinator, ConfigurationChangeNotificationCoordinator notificationCoordinator) { fileMap = new ExeConfigurationFileMap(); fileMap.ExeConfigFilename = configurationFilePath; this.notificationCoordinator = notificationCoordinator; AttachManageabilityHelper(manageabilityHelper); AttachGroupPolicyWatcher(groupPolicyWatcher); AttachWatcherCoordinator(watcherCoordinator); InitializeConfiguration(); }
void AttachManageabilityHelper(IManageabilityHelper manageabilityHelper) { this.manageabilityHelper = manageabilityHelper; }
void AttachManageabilityHelper(IManageabilityHelper manageabilityHelper) { this.manageabilityHelper = manageabilityHelper; this.manageabilityHelper.ConfigurationSettingChanged += OnConfigurationSettingChanged; }