ReviewNotifier.ReviewNotifierConfiguration.Save C# (CSharp) Méthode

Save() public méthode

public Save ( ) : void
Résultat void
        public void Save()
        {
            if (_config == null || _section == null)
                throw new InvalidOperationException("Configuration has not yet been loaded, cannot save.");

            if (_config.Sections.Get(_sectionName) == null)
                _config.Sections.Add(_sectionName, _section);

            _config.Save(ConfigurationSaveMode.Minimal);
        }