public void ApplyAllSuggestionsInSection(string section) { foreach (var item in this.Suggestions[section]) { this.ApplyCommand(item); this.Changelog[section].Add(TieringChange.FromTieringCommand(item)); } }
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); }