1 write to _viewModel
Microsoft.VisualStudio.LanguageServices (1)
ChangeSignature\ChangeSignatureDialog.xaml.cs (1)
50
_viewModel
= viewModel;
17 references to _viewModel
Microsoft.VisualStudio.LanguageServices (17)
ChangeSignature\ChangeSignatureDialog.xaml.cs (17)
80
if (
_viewModel
.TrySubmit())
104
if (
_viewModel
.CanMoveUp && oldSelectedIndex >= 0)
106
_viewModel
.MoveUp();
127
if (
_viewModel
.CanMoveDown && oldSelectedIndex >= 0)
129
_viewModel
.MoveDown();
137
if (
_viewModel
.CanRemove)
139
_viewModel
.Remove();
148
if (
_viewModel
.CanRestore)
150
_viewModel
.Restore();
159
var addParameterViewModel =
_viewModel
.CreateAddParameterDialogViewModel();
179
_viewModel
.AddParameter(addedParameter);
269
Members.SelectedIndex =
_viewModel
.GetStartingSelectionIndex();
277
if (
_viewModel
.CanRemove)
279
_viewModel
.Remove();
281
else if (
_viewModel
.CanRestore)
283
_viewModel
.Restore();
300
public ChangeSignatureDialogViewModel ViewModel => _dialog.
_viewModel
;