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