12 instantiations of NotificationOptionViewModel
Microsoft.VisualStudio.LanguageServices.Implementation (12)
Options\Style\AbstractCodeStyleOptionViewModel.cs (4)
70new NotificationOptionViewModel(NotificationOption2.Silent, KnownMonikers.None), 71new NotificationOptionViewModel(NotificationOption2.Suggestion, KnownMonikers.StatusInformation), 72new NotificationOptionViewModel(NotificationOption2.Warning, KnownMonikers.StatusWarning), 73new NotificationOptionViewModel(NotificationOption2.Error, KnownMonikers.StatusError)
Options\Style\NamingPreferences\NamingStyleOptionPageControl.xaml.cs (4)
44new NotificationOptionViewModel(NotificationOption2.Silent, KnownMonikers.None), 45new NotificationOptionViewModel(NotificationOption2.Suggestion, KnownMonikers.StatusInformation), 46new NotificationOptionViewModel(NotificationOption2.Warning, KnownMonikers.StatusWarning), 47new NotificationOptionViewModel(NotificationOption2.Error, KnownMonikers.StatusError)
Options\Style\NamingPreferences\NamingStyleOptionPageViewModel.cs (4)
27new NotificationOptionViewModel(NotificationOption2.Silent, KnownMonikers.None), 28new NotificationOptionViewModel(NotificationOption2.Suggestion, KnownMonikers.StatusInformation), 29new NotificationOptionViewModel(NotificationOption2.Warning, KnownMonikers.StatusWarning), 30new NotificationOptionViewModel(NotificationOption2.Error, KnownMonikers.StatusError)
19 references to NotificationOptionViewModel
Microsoft.VisualStudio.LanguageServices.Implementation (19)
Options\Style\AbstractCodeStyleOptionViewModel.cs (5)
38public List<NotificationOptionViewModel> NotificationPreferences { get; set; } 43public virtual NotificationOptionViewModel SelectedNotificationPreference 55List<NotificationOptionViewModel> notificationPreferences = null) 66private static List<NotificationOptionViewModel> GetDefaultNotifications() 68return new List<NotificationOptionViewModel>
Options\Style\BooleanCodeStyleOptionViewModel.cs (4)
24private NotificationOptionViewModel _selectedNotificationPreference; 35List<NotificationOptionViewModel> notificationPreferences = null) 44var notificationViewModel = NotificationPreferences.Single(i => i.Notification.Severity == codeStyleOption.Notification.Severity); 64public override NotificationOptionViewModel SelectedNotificationPreference
Options\Style\EnumCodeStyleOptionViewModel.cs (3)
36private NotificationOptionViewModel _selectedNotificationPreference; 65var notificationViewModel = NotificationPreferences.Single(i => i.Notification.Severity == codeStyleOption.Notification.Severity); 97public override NotificationOptionViewModel SelectedNotificationPreference
Options\Style\NamingPreferences\NamingStyleOptionPageControl.xaml.cs (1)
42private readonly NotificationOptionViewModel[] _notifications = new[]
Options\Style\NamingPreferences\NamingStyleOptionPageViewModel.cs (6)
25private readonly NotificationOptionViewModel[] _notifications = new[] 48NotificationPreferences = new List<NotificationOptionViewModel>(_notifications) 209NotificationPreferences = new List<NotificationOptionViewModel>(); 214private NotificationOptionViewModel _selectedNotification; 218public IEnumerable<NotificationOptionViewModel> NotificationPreferences { get; set; } 243public NotificationOptionViewModel SelectedNotificationPreference