1 write to Notification
Microsoft.VisualStudio.LanguageServices.Implementation (1)
Options\NotificationOptionViewModel.cs (1)
19Notification = notification;
12 references to Notification
Microsoft.VisualStudio.LanguageServices.Implementation (12)
Options\Style\BooleanCodeStyleOptionViewModel.cs (5)
44var notificationViewModel = NotificationPreferences.Single(i => i.Notification.Severity == codeStyleOption.Notification.Severity); 45_selectedNotificationPreference = NotificationPreferences.Single(p => p.Notification.Severity == notificationViewModel.Notification.Severity); 59Info.SetOptionAndUpdatePreview(new CodeStyleOption2<bool>(_selectedPreference.IsChecked, _selectedNotificationPreference.Notification), Option, GetPreview()); 72Info.SetOptionAndUpdatePreview(new CodeStyleOption2<bool>(_selectedPreference.IsChecked, _selectedNotificationPreference.Notification), Option, GetPreview());
Options\Style\EnumCodeStyleOptionViewModel.cs (5)
65var notificationViewModel = NotificationPreferences.Single(i => i.Notification.Severity == codeStyleOption.Notification.Severity); 66_selectedNotificationPreference = NotificationPreferences.Single(p => p.Notification.Severity == notificationViewModel.Notification.Severity); 91enumValue, _selectedNotificationPreference.Notification), 110enumValue, _selectedNotificationPreference.Notification),
Options\Style\NamingPreferences\NamingStyleOptionPageControl.xaml.cs (1)
155EnforcementLevel = item.SelectedNotificationPreference.Notification.Severity,
Options\Style\NamingPreferences\NamingStyleOptionPageViewModel.cs (1)
53viewModel.SelectedNotificationPreference = viewModel.NotificationPreferences.Single(n => n.Notification.Severity == namingRule.EnforcementLevel);