1 write to _viewModel
Microsoft.VisualStudio.LanguageServices.Implementation (1)
Options\Style\NamingPreferences\NamingStyleOptionPageControl.xaml.cs (1)
191_viewModel = new NamingStyleOptionPageViewModel(preferences);
18 references to _viewModel
Microsoft.VisualStudio.LanguageServices.Implementation (18)
Options\Style\NamingPreferences\NamingStyleOptionPageControl.xaml.cs (18)
64Specifications = new ObservableCollection<SymbolSpecification>(_viewModel.Specifications), 65NamingStyles = new ObservableCollection<MutableNamingStyle>(_viewModel.NamingStyles), 71=> _viewModel.AddItem(CreateItemWithNoSelections()); 75var viewModel = new ManageSymbolSpecificationsDialogViewModel(_viewModel.Specifications, _viewModel.CodeStyleItems.ToList(), _languageName, _notificationService); 79_viewModel.UpdateSpecificationList(viewModel); 85var viewModel = new ManageNamingStylesDialogViewModel(_viewModel.NamingStyles, _viewModel.CodeStyleItems.ToList(), _notificationService); 89_viewModel.UpdateStyleList(viewModel); 98_viewModel.MoveItem(oldSelectedIndex, oldSelectedIndex - 1); 109_viewModel.MoveItem(oldSelectedIndex, oldSelectedIndex + 1); 119_viewModel.RemoveItem(context); 146foreach (var item in _viewModel.CodeStyleItems) 163foreach (var item in _viewModel.Specifications) 168foreach (var item in _viewModel.NamingStyles) 192DataContext = _viewModel; 196=> _viewModel.CodeStyleItems.Any(i => !i.IsComplete()); 199=> _viewModel.SelectedIndex = CodeStyleMembers.SelectedIndex;