12 instantiations of NotificationOptionViewModel
Microsoft.VisualStudio.LanguageServices.Implementation (12)
Options\Style\AbstractCodeStyleOptionViewModel.cs (4)
71
new
NotificationOptionViewModel
(NotificationOption2.Silent, KnownMonikers.None),
72
new
NotificationOptionViewModel
(NotificationOption2.Suggestion, KnownMonikers.StatusInformation),
73
new
NotificationOptionViewModel
(NotificationOption2.Warning, KnownMonikers.StatusWarning),
74
new
NotificationOptionViewModel
(NotificationOption2.Error, KnownMonikers.StatusError)
Options\Style\NamingPreferences\NamingStyleOptionPageControl.xaml.cs (4)
42
new
NotificationOptionViewModel
(NotificationOption2.Silent, KnownMonikers.None),
43
new
NotificationOptionViewModel
(NotificationOption2.Suggestion, KnownMonikers.StatusInformation),
44
new
NotificationOptionViewModel
(NotificationOption2.Warning, KnownMonikers.StatusWarning),
45
new
NotificationOptionViewModel
(NotificationOption2.Error, KnownMonikers.StatusError)
Options\Style\NamingPreferences\NamingStyleOptionPageViewModel.cs (4)
26
new
NotificationOptionViewModel
(NotificationOption2.Silent, KnownMonikers.None),
27
new
NotificationOptionViewModel
(NotificationOption2.Suggestion, KnownMonikers.StatusInformation),
28
new
NotificationOptionViewModel
(NotificationOption2.Warning, KnownMonikers.StatusWarning),
29
new
NotificationOptionViewModel
(NotificationOption2.Error, KnownMonikers.StatusError)
16 references to NotificationOptionViewModel
Microsoft.VisualStudio.LanguageServices.Implementation (16)
Options\Style\AbstractCodeStyleOptionViewModel.cs (4)
39
public List<
NotificationOptionViewModel
> NotificationPreferences { get; set; }
44
public virtual
NotificationOptionViewModel
SelectedNotificationPreference
56
List<
NotificationOptionViewModel
> notificationPreferences = null)
67
private static List<
NotificationOptionViewModel
> GetDefaultNotifications()
Options\Style\BooleanCodeStyleOptionViewModel.cs (4)
24
private
NotificationOptionViewModel
_selectedNotificationPreference;
35
List<
NotificationOptionViewModel
> notificationPreferences = null)
44
var
notificationViewModel = NotificationPreferences.Single(i => i.Notification.Severity == codeStyleOption.Notification.Severity);
64
public override
NotificationOptionViewModel
SelectedNotificationPreference
Options\Style\EnumCodeStyleOptionViewModel.cs (3)
35
private
NotificationOptionViewModel
_selectedNotificationPreference;
64
var
notificationViewModel = NotificationPreferences.Single(i => i.Notification.Severity == codeStyleOption.Notification.Severity);
96
public override
NotificationOptionViewModel
SelectedNotificationPreference
Options\Style\NamingPreferences\NamingStyleOptionPageControl.xaml.cs (1)
40
private readonly
NotificationOptionViewModel
[] _notifications =
Options\Style\NamingPreferences\NamingStyleOptionPageViewModel.cs (4)
24
private readonly
NotificationOptionViewModel
[] _notifications =
213
private
NotificationOptionViewModel
_selectedNotification;
217
public IEnumerable<
NotificationOptionViewModel
> NotificationPreferences { get; set; }
242
public
NotificationOptionViewModel
SelectedNotificationPreference