public void Refresh(IConfigurationSource newSubordinateSource) { if (subordinateSource != null) { subordinateSource.RemoveSectionChangeHandler(sectionName, ChildConfigurationSectionChanged); } subordinateSource = newSubordinateSource; subordinateSource.AddSectionChangeHandler(sectionName, ChildConfigurationSectionChanged); }
public void Dispose() { configurationSource.RemoveSectionChangeHandler(LoggingSettings.SectionName, UpdateLogWriter); }