30 references to AllParameters
Microsoft.VisualStudio.IntegrationTest.Utilities (1)
InProcess\ChangeSignatureDialog_InProc.cs (1)
99
members.SelectedItem = dialog.GetTestAccessor().ViewModel.
AllParameters
.Single(p => p.ShortAutomationText == parameterName);
Microsoft.VisualStudio.LanguageServices (20)
ChangeSignature\ChangeSignatureDialogViewModel.cs (20)
112
foreach (var parameter in
AllParameters
)
142
NotifyPropertyChanged(nameof(
AllParameters
));
197
return !
AllParameters
[index].IsRemoved;
210
return
AllParameters
[index].IsRemoved;
218
if (!
AllParameters
.Any())
240
if (
AllParameters
[_selectedIndex!.Value] is AddedParameterViewModel)
242
var parameterToRemove =
AllParameters
[_selectedIndex!.Value];
255
AllParameters
[_selectedIndex!.Value].IsRemoved = true;
264
AllParameters
[_selectedIndex!.Value].IsRemoved = false;
286
NotifyPropertyChanged(nameof(
AllParameters
));
370
foreach (var parameter in
AllParameters
.Where(p => !p.IsRemoved))
488
NotifyPropertyChanged(nameof(
AllParameters
));
495
var canSubmit =
AllParameters
.Any(p => p.IsRemoved) ||
496
AllParameters
.Any(p => p is AddedParameterViewModel) ||
564
return string.Format(ServicesVSResources.Move_0_above_1,
AllParameters
[SelectedIndex!.Value].ShortAutomationText,
AllParameters
[SelectedIndex!.Value - 1].ShortAutomationText);
577
return string.Format(ServicesVSResources.Move_0_below_1,
AllParameters
[SelectedIndex!.Value].ShortAutomationText,
AllParameters
[SelectedIndex!.Value + 1].ShortAutomationText);
590
return string.Format(ServicesVSResources.Remove_0,
AllParameters
[SelectedIndex!.Value].ShortAutomationText);
603
return string.Format(ServicesVSResources.Restore_0,
AllParameters
[SelectedIndex!.Value].ShortAutomationText);
Microsoft.VisualStudio.LanguageServices.UnitTests (9)
ChangeSignature\ChangeSignatureViewModelTests.vb (9)
101
monitor.AddExpectation(Function() viewModel.
AllParameters
)
138
monitor.AddExpectation(Function() viewModel.
AllParameters
)
195
monitor.AddExpectation(Function() viewModel.
AllParameters
)
310
Assert.Equal("", state.ViewModel.
AllParameters
(0).Modifier)
311
Assert.Equal("ref", state.ViewModel.
AllParameters
(1).Modifier)
312
Assert.Equal("in", state.ViewModel.
AllParameters
(2).Modifier)
313
Assert.Equal("out", state.ViewModel.
AllParameters
(3).Modifier)
385
AssertPermuted(permutation, viewModel.
AllParameters
, viewModelTestState.OriginalParameterList)
420
Dim parameter = viewModel.
AllParameters
(parameterIndex)