DetachFromConfigurationRecord() private method

private DetachFromConfigurationRecord ( ) : void
return void
        internal void DetachFromConfigurationRecord()
        {
            if (_configSections != null)
            {
                _configSections.DetachFromConfigurationRecord();
            }

            if (_configSectionGroups != null)
            {
                _configSectionGroups.DetachFromConfigurationRecord();
            }

            _configRecord = null;
        }
Example #2
0
 internal void DetachFromConfigurationRecord()
 {
     _configSections?.DetachFromConfigurationRecord();
     _configSectionGroups?.DetachFromConfigurationRecord();
     _configRecord = null;
 }