1 write to NotificationPreferences
Microsoft.VisualStudio.LanguageServices.Implementation (1)
Options\Style\AbstractCodeStyleOptionViewModel.cs (1)
62
NotificationPreferences
= notificationPreferences ?? GetDefaultNotifications();
5 references to NotificationPreferences
Microsoft.VisualStudio.LanguageServices.Implementation (5)
Options\Style\AbstractCodeStyleOptionViewModel.cs (1)
46
get { return
NotificationPreferences
.First(); }
Options\Style\BooleanCodeStyleOptionViewModel.cs (2)
44
var notificationViewModel =
NotificationPreferences
.Single(i => i.Notification.Severity == codeStyleOption.Notification.Severity);
45
_selectedNotificationPreference =
NotificationPreferences
.Single(p => p.Notification.Severity == notificationViewModel.Notification.Severity);
Options\Style\EnumCodeStyleOptionViewModel.cs (2)
64
var notificationViewModel =
NotificationPreferences
.Single(i => i.Notification.Severity == codeStyleOption.Notification.Severity);
65
_selectedNotificationPreference =
NotificationPreferences
.Single(p => p.Notification.Severity == notificationViewModel.Notification.Severity);