1 write to _viewModel
Microsoft.VisualStudio.LanguageServices.Implementation (1)
Options\Style\NamingPreferences\NamingStyleOptionPageControl.xaml.cs (1)
187_viewModel = new NamingStyleOptionPageViewModel(preferences);
18 references to _viewModel
Microsoft.VisualStudio.LanguageServices.Implementation (18)
Options\Style\NamingPreferences\NamingStyleOptionPageControl.xaml.cs (18)
62Specifications = [.. _viewModel.Specifications], 63NamingStyles = [.. _viewModel.NamingStyles], 69=> _viewModel.AddItem(CreateItemWithNoSelections()); 73var viewModel = new ManageSymbolSpecificationsDialogViewModel(_viewModel.Specifications, [.. _viewModel.CodeStyleItems], _languageName, _notificationService); 77_viewModel.UpdateSpecificationList(viewModel); 83var viewModel = new ManageNamingStylesDialogViewModel(_viewModel.NamingStyles, [.. _viewModel.CodeStyleItems], _notificationService); 87_viewModel.UpdateStyleList(viewModel); 96_viewModel.MoveItem(oldSelectedIndex, oldSelectedIndex - 1); 107_viewModel.MoveItem(oldSelectedIndex, oldSelectedIndex + 1); 117_viewModel.RemoveItem(context); 144foreach (var item in _viewModel.CodeStyleItems) 159foreach (var item in _viewModel.Specifications) 164foreach (var item in _viewModel.NamingStyles) 188DataContext = _viewModel; 192=> _viewModel.CodeStyleItems.Any(i => !i.IsComplete()); 195=> _viewModel.SelectedIndex = CodeStyleMembers.SelectedIndex;