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)
62
Specifications = [..
_viewModel
.Specifications],
63
NamingStyles = [..
_viewModel
.NamingStyles],
69
=>
_viewModel
.AddItem(CreateItemWithNoSelections());
73
var viewModel = new ManageSymbolSpecificationsDialogViewModel(
_viewModel
.Specifications, [..
_viewModel
.CodeStyleItems], _languageName, _notificationService);
77
_viewModel
.UpdateSpecificationList(viewModel);
83
var 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);
144
foreach (var item in
_viewModel
.CodeStyleItems)
159
foreach (var item in
_viewModel
.Specifications)
164
foreach (var item in
_viewModel
.NamingStyles)
188
DataContext =
_viewModel
;
192
=>
_viewModel
.CodeStyleItems.Any(i => !i.IsComplete());
195
=>
_viewModel
.SelectedIndex = CodeStyleMembers.SelectedIndex;