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)
64var notificationViewModel = NotificationPreferences.Single(i => i.Notification.Severity == codeStyleOption.Notification.Severity); 65_selectedNotificationPreference = NotificationPreferences.Single(p => p.Notification.Severity == notificationViewModel.Notification.Severity); 90enumValue, _selectedNotificationPreference.Notification), 109enumValue, _selectedNotificationPreference.Notification),
Options\Style\NamingPreferences\NamingStyleOptionPageControl.xaml.cs (1)
154item.SelectedNotificationPreference.Notification.Severity);
Options\Style\NamingPreferences\NamingStyleOptionPageViewModel.cs (1)
52viewModel.SelectedNotificationPreference = viewModel.NotificationPreferences.Single(n => n.Notification.Severity == namingRule.EnforcementLevel);