1 write to CodeStyleItems
Microsoft.VisualStudio.LanguageServices.Implementation (1)
Options\Style\NamingPreferences\NamingStyleOptionPageViewModel.cs (1)
57CodeStyleItems = new ObservableCollection<NamingRuleViewModel>(viewModels);
15 references to CodeStyleItems
Microsoft.VisualStudio.LanguageServices.Implementation (15)
Options\Style\NamingPreferences\NamingStyleOptionPageControl.xaml.cs (4)
73var viewModel = new ManageSymbolSpecificationsDialogViewModel(_viewModel.Specifications, [.. _viewModel.CodeStyleItems], _languageName, _notificationService); 83var viewModel = new ManageNamingStylesDialogViewModel(_viewModel.NamingStyles, [.. _viewModel.CodeStyleItems], _notificationService); 144foreach (var item in _viewModel.CodeStyleItems) 192=> _viewModel.CodeStyleItems.Any(i => !i.IsComplete());
Options\Style\NamingPreferences\NamingStyleOptionPageViewModel.cs (11)
85CodeStyleItems.Add(namingRuleViewModel); 91CodeStyleItems.Remove(namingRuleViewModel); 113foreach (var rule in CodeStyleItems) 137CodeStyleItems.Move(oldSelectedIndex, newSelectedIndex); 143for (var i = 0; i < CodeStyleItems.Count; i++) 145CodeStyleItems[i].CanMoveUp = true; 146CodeStyleItems[i].CanMoveDown = true; 150CodeStyleItems[i].CanMoveUp = false; 153if (i == CodeStyleItems.Count - 1) 155CodeStyleItems[i].CanMoveDown = false; 180foreach (var rule in CodeStyleItems)