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