2 types derived from ParameterViewModel
Microsoft.VisualStudio.LanguageServices (2)
ChangeSignature\ChangeSignatureDialogViewModel.ParameterViewModels.cs (2)
98
public class AddedParameterViewModel :
ParameterViewModel
155
public class ExistingParameterViewModel :
ParameterViewModel
18 references to ParameterViewModel
Microsoft.VisualStudio.LanguageServices (18)
ChangeSignature\ChangeSignatureDialog.xaml.cs (2)
234
var
potentialNewSelectedParameter = Members.Items[oldSelectedIndex - 1] as ChangeSignatureDialogViewModel.
ParameterViewModel
;
ChangeSignature\ChangeSignatureDialogViewModel.cs (16)
34
private readonly List<
ParameterViewModel
> _parametersWithoutDefaultValues;
35
private readonly List<
ParameterViewModel
> _parametersWithDefaultValues;
39
private readonly HashSet<
ParameterViewModel
> _disabledParameters = [];
110
var parameterNameOverlapMap = new Dictionary<string, List<
ParameterViewModel
>>();
111
foreach (
var
parameter in AllParameters)
116
.GetOrAdd(parameter.ParameterName, _ => new List<
ParameterViewModel
>())
130
foreach (
var
matchingParameter in matchingParameters)
147
private List<
ParameterViewModel
> CreateParameterViewModels(ImmutableArray<Parameter> parameters, ref int initialIndex)
149
var list = new List<
ParameterViewModel
>();
230
var
parameterToRemove = AllParameters[_selectedIndex!.Value];
354
foreach (
var
parameter in AllParameters.Where(p => !p.IsRemoved))
384
public List<
ParameterViewModel
> AllParameters
388
var list = new List<
ParameterViewModel
>();
464
private void Move(List<
ParameterViewModel
> list, int index, int delta)
466
var
param = list[index];
505
private bool IsDisabled(
ParameterViewModel
parameterViewModel)