20 references to AllParameters
Microsoft.VisualStudio.LanguageServices (20)
ChangeSignature\ChangeSignatureDialogViewModel.cs (20)
110
foreach (var parameter in
AllParameters
)
140
NotifyPropertyChanged(nameof(
AllParameters
));
184
return !
AllParameters
[index].IsRemoved;
197
return
AllParameters
[index].IsRemoved;
205
if (!
AllParameters
.Any())
227
if (
AllParameters
[SelectedIndex!.Value] is AddedParameterViewModel)
229
var parameterToRemove =
AllParameters
[SelectedIndex!.Value];
238
AllParameters
[SelectedIndex!.Value].IsRemoved = true;
247
AllParameters
[SelectedIndex!.Value].IsRemoved = false;
269
NotifyPropertyChanged(nameof(
AllParameters
));
353
foreach (var parameter in
AllParameters
.Where(p => !p.IsRemoved))
471
NotifyPropertyChanged(nameof(
AllParameters
));
478
var canSubmit =
AllParameters
.Any(p => p.IsRemoved) ||
479
AllParameters
.Any(p => p is AddedParameterViewModel) ||
543
return string.Format(ServicesVSResources.Move_0_above_1,
AllParameters
[SelectedIndex!.Value].ShortAutomationText,
AllParameters
[SelectedIndex!.Value - 1].ShortAutomationText);
556
return string.Format(ServicesVSResources.Move_0_below_1,
AllParameters
[SelectedIndex!.Value].ShortAutomationText,
AllParameters
[SelectedIndex!.Value + 1].ShortAutomationText);
569
return string.Format(ServicesVSResources.Remove_0,
AllParameters
[SelectedIndex!.Value].ShortAutomationText);
582
return string.Format(ServicesVSResources.Restore_0,
AllParameters
[SelectedIndex!.Value].ShortAutomationText);