public void UpdateVisualStudioSettings(RefactoringsOptionsPage refactoringsOptionsPage) { VisualStudioSettings.Refactorings.Clear(); foreach (string id in refactoringsOptionsPage.GetDisabledRefactorings()) { VisualStudioSettings.Refactorings[id] = false; } }
public void UpdateVisualStudioSettings(RefactoringsOptionsPage refactoringsOptionsPage) { UpdateVisualStudioSettings(VisualStudioSettings.Refactorings, refactoringsOptionsPage.GetDisabledItems()); }