Пример #1
0
        public void UpdateVisualStudioSettings(RefactoringsOptionsPage refactoringsOptionsPage)
        {
            VisualStudioSettings.Refactorings.Clear();

            foreach (string id in refactoringsOptionsPage.GetDisabledRefactorings())
            {
                VisualStudioSettings.Refactorings[id] = false;
            }
        }
Пример #2
0
 public void UpdateVisualStudioSettings(RefactoringsOptionsPage refactoringsOptionsPage)
 {
     UpdateVisualStudioSettings(VisualStudioSettings.Refactorings, refactoringsOptionsPage.GetDisabledItems());
 }