2 instantiations of NamingRuleViewModel
Microsoft.VisualStudio.LanguageServices.Implementation (2)
Options\Style\NamingPreferences\NamingStyleOptionPageControl.xaml.cs (1)
60return new NamingStyleOptionPageViewModel.NamingRuleViewModel()
Options\Style\NamingPreferences\NamingStyleOptionPageViewModel.cs (1)
43var viewModel = new NamingRuleViewModel()
14 references to NamingRuleViewModel
Microsoft.VisualStudio.LanguageServices.Implementation (14)
Options\Style\NamingPreferences\NamingStyleOptionPageControl.xaml.cs (4)
58private NamingStyleOptionPageViewModel.NamingRuleViewModel CreateItemWithNoSelections() 116var context = button.DataContext as NamingStyleOptionPageViewModel.NamingRuleViewModel; 144foreach (var item in _viewModel.CodeStyleItems)
Options\Style\NamingPreferences\NamingStyleOptionPageViewModel.cs (8)
34public ObservableCollection<NamingRuleViewModel> CodeStyleItems { get; set; } 40var viewModels = new List<NamingRuleViewModel>(); 43var viewModel = new NamingRuleViewModel() 57CodeStyleItems = new ObservableCollection<NamingRuleViewModel>(viewModels); 83internal void AddItem(NamingRuleViewModel namingRuleViewModel) 89internal void RemoveItem(NamingRuleViewModel namingRuleViewModel) 113foreach (var rule in CodeStyleItems) 180foreach (var rule in CodeStyleItems)
Options\Style\NamingPreferences\NamingStyles\ManageNamingStylesDialogViewModel.cs (1)
26List<NamingStyleOptionPageViewModel.NamingRuleViewModel> namingRules,
Options\Style\NamingPreferences\SymbolSpecification\ManageSymbolSpecificationsDialogViewModel.cs (1)
27List<NamingStyleOptionPageViewModel.NamingRuleViewModel> namingRules,