2 types derived from ParameterViewModel
Microsoft.VisualStudio.LanguageServices (2)
ChangeSignature\ChangeSignatureDialogViewModel.ParameterViewModels.cs (2)
98public class AddedParameterViewModel : ParameterViewModel 155public class ExistingParameterViewModel : ParameterViewModel
18 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 = []; 110var parameterNameOverlapMap = new Dictionary<string, List<ParameterViewModel>>(); 111foreach (var parameter in AllParameters) 116.GetOrAdd(parameter.ParameterName, _ => new List<ParameterViewModel>()) 130foreach (var matchingParameter in matchingParameters) 147private List<ParameterViewModel> CreateParameterViewModels(ImmutableArray<Parameter> parameters, ref int initialIndex) 149var list = new List<ParameterViewModel>(); 230var parameterToRemove = AllParameters[_selectedIndex!.Value]; 354foreach (var parameter in AllParameters.Where(p => !p.IsRemoved)) 384public List<ParameterViewModel> AllParameters 388var list = new List<ParameterViewModel>(); 464private void Move(List<ParameterViewModel> list, int index, int delta) 466var param = list[index]; 505private bool IsDisabled(ParameterViewModel parameterViewModel)