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) ||
547
return string.Format(ServicesVSResources.Move_0_above_1,
AllParameters
[SelectedIndex!.Value].ShortAutomationText,
AllParameters
[SelectedIndex!.Value - 1].ShortAutomationText);
560
return string.Format(ServicesVSResources.Move_0_below_1,
AllParameters
[SelectedIndex!.Value].ShortAutomationText,
AllParameters
[SelectedIndex!.Value + 1].ShortAutomationText);
573
return string.Format(ServicesVSResources.Remove_0,
AllParameters
[SelectedIndex!.Value].ShortAutomationText);
586
return string.Format(ServicesVSResources.Restore_0,
AllParameters
[SelectedIndex!.Value].ShortAutomationText);