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