public void Refresh(IConfigurationSource newSubordinateSource)
            {
                if (subordinateSource != null)
                {
                    subordinateSource.RemoveSectionChangeHandler(sectionName, ChildConfigurationSectionChanged);
                }

                subordinateSource = newSubordinateSource;
                subordinateSource.AddSectionChangeHandler(sectionName, ChildConfigurationSectionChanged);
            }
Esempio n. 2
0
 public void Dispose()
 {
     configurationSource.RemoveSectionChangeHandler(LoggingSettings.SectionName, UpdateLogWriter);
 }