2 types derived from ParameterViewModel
Microsoft.VisualStudio.LanguageServices (2)
ChangeSignature\ChangeSignatureDialogViewModel.ParameterViewModels.cs (2)
98
public class AddedParameterViewModel :
ParameterViewModel
155
public class ExistingParameterViewModel :
ParameterViewModel
19 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 = new();
111
var parameterNameOverlapMap = new Dictionary<string, List<
ParameterViewModel
>>();
112
foreach (
var
parameter in AllParameters)
117
.GetOrAdd(parameter.ParameterName, _ => new List<
ParameterViewModel
>())
131
foreach (
var
matchingParameter in matchingParameters)
148
private List<
ParameterViewModel
> CreateParameterViewModels(ImmutableArray<Parameter> parameters, ref int initialIndex)
150
var list = new List<
ParameterViewModel
>();
242
var
parameterToRemove = AllParameters[_selectedIndex!.Value];
370
foreach (
var
parameter in AllParameters.Where(p => !p.IsRemoved))
400
public List<
ParameterViewModel
> AllParameters
404
var list = new List<
ParameterViewModel
>();
480
private void Move(List<
ParameterViewModel
> list, int index, int delta)
482
var
param = list[index];
521
private bool IsDisabled(
ParameterViewModel
parameterViewModel)
Microsoft.VisualStudio.LanguageServices.UnitTests (1)
ChangeSignature\ChangeSignatureViewModelTests.vb (1)
394
Private Shared Sub AssertPermuted(permutation As Integer(), actualParameterList As List(Of ChangeSignatureDialogViewModel.
ParameterViewModel
), originalParameterList As ImmutableArray(Of IParameterSymbol))