示例#1
0
 public void ApplyAllSuggestionsInSection(string section)
 {
     foreach (var item in this.Suggestions[section])
     {
         this.ApplyCommand(item);
         this.Changelog[section].Add(TieringChange.FromTieringCommand(item));
     }
 }
示例#2
0
        public void ApplyAllSuggestionsInSection(string section)
        {
            LoggingFacade.LogDebug($"Applying Suggestions in section: {section}");

            this.AddNonBaseTypeExceptionList(section);
            this.AddBaseTypeLinesIfMissing(section);

            foreach (var item in this.Suggestions[section])
            {
                this.ApplyCommand(item);
                this.Changelog[section].Add(TieringChange.FromTieringCommand(item));
            }

            this.RemoveBaseTypeLinesIfEmpty(section);
            this.HandleEnabledDisabledState(section);
        }