mirror of
https://github.com/jellyfin/jellyfin.git
synced 2025-12-18 06:53:07 +03:00
Enable nullabe reference types for MediaBrowser.Model
This commit is contained in:
@@ -6,6 +6,15 @@ namespace MediaBrowser.Model.Notifications
|
||||
{
|
||||
public class NotificationOption
|
||||
{
|
||||
public NotificationOption(string type)
|
||||
{
|
||||
Type = type;
|
||||
|
||||
DisabledServices = Array.Empty<string>();
|
||||
DisabledMonitorUsers = Array.Empty<string>();
|
||||
SendToUsers = Array.Empty<string>();
|
||||
}
|
||||
|
||||
public string Type { get; set; }
|
||||
|
||||
/// <summary>
|
||||
@@ -35,12 +44,5 @@ namespace MediaBrowser.Model.Notifications
|
||||
/// </summary>
|
||||
/// <value>The send to user mode.</value>
|
||||
public SendToUserType SendToUserMode { get; set; }
|
||||
|
||||
public NotificationOption()
|
||||
{
|
||||
DisabledServices = Array.Empty<string>();
|
||||
DisabledMonitorUsers = Array.Empty<string>();
|
||||
SendToUsers = Array.Empty<string>();
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user