20 references to AllParameters
Microsoft.VisualStudio.LanguageServices (20)
ChangeSignature\ChangeSignatureDialogViewModel.cs (20)
111
foreach (var parameter in
AllParameters
)
141
NotifyPropertyChanged(nameof(
AllParameters
));
185
return !
AllParameters
[index].IsRemoved;
198
return
AllParameters
[index].IsRemoved;
206
if (!
AllParameters
.Any())
228
if (
AllParameters
[_selectedIndex!.Value] is AddedParameterViewModel)
230
var parameterToRemove =
AllParameters
[_selectedIndex!.Value];
239
AllParameters
[_selectedIndex!.Value].IsRemoved = true;
248
AllParameters
[_selectedIndex!.Value].IsRemoved = false;
270
NotifyPropertyChanged(nameof(
AllParameters
));
354
foreach (var parameter in
AllParameters
.Where(p => !p.IsRemoved))
472
NotifyPropertyChanged(nameof(
AllParameters
));
479
var canSubmit =
AllParameters
.Any(p => p.IsRemoved) ||
480
AllParameters
.Any(p => p is AddedParameterViewModel) ||
548
return string.Format(ServicesVSResources.Move_0_above_1,
AllParameters
[SelectedIndex!.Value].ShortAutomationText,
AllParameters
[SelectedIndex!.Value - 1].ShortAutomationText);
561
return string.Format(ServicesVSResources.Move_0_below_1,
AllParameters
[SelectedIndex!.Value].ShortAutomationText,
AllParameters
[SelectedIndex!.Value + 1].ShortAutomationText);
574
return string.Format(ServicesVSResources.Remove_0,
AllParameters
[SelectedIndex!.Value].ShortAutomationText);
587
return string.Format(ServicesVSResources.Restore_0,
AllParameters
[SelectedIndex!.Value].ShortAutomationText);