mirror of
				https://github.com/jellyfin/jellyfin.git
				synced 2025-11-03 19:17:24 -05:00 
			
		
		
		
	Suggested changes and removed some intellisense messages.
This commit is contained in:
		
							parent
							
								
									12478c7196
								
							
						
					
					
						commit
						6b4cea604c
					
				@ -1,3 +1,4 @@
 | 
				
			|||||||
 | 
					#pragma warning disable CA1819 // Properties should not return arrays
 | 
				
			||||||
#pragma warning disable CS1591
 | 
					#pragma warning disable CS1591
 | 
				
			||||||
 | 
					
 | 
				
			||||||
using System;
 | 
					using System;
 | 
				
			||||||
@ -9,7 +10,6 @@ namespace MediaBrowser.Model.Notifications
 | 
				
			|||||||
        public NotificationOption(string type)
 | 
					        public NotificationOption(string type)
 | 
				
			||||||
        {
 | 
					        {
 | 
				
			||||||
            Type = type;
 | 
					            Type = type;
 | 
				
			||||||
 | 
					 | 
				
			||||||
            DisabledServices = Array.Empty<string>();
 | 
					            DisabledServices = Array.Empty<string>();
 | 
				
			||||||
            DisabledMonitorUsers = Array.Empty<string>();
 | 
					            DisabledMonitorUsers = Array.Empty<string>();
 | 
				
			||||||
            SendToUsers = Array.Empty<string>();
 | 
					            SendToUsers = Array.Empty<string>();
 | 
				
			||||||
@ -17,21 +17,20 @@ namespace MediaBrowser.Model.Notifications
 | 
				
			|||||||
 | 
					
 | 
				
			||||||
        public NotificationOption()
 | 
					        public NotificationOption()
 | 
				
			||||||
        {
 | 
					        {
 | 
				
			||||||
            Type = string.Empty;
 | 
					 | 
				
			||||||
            DisabledServices = Array.Empty<string>();
 | 
					            DisabledServices = Array.Empty<string>();
 | 
				
			||||||
            DisabledMonitorUsers = Array.Empty<string>();
 | 
					            DisabledMonitorUsers = Array.Empty<string>();
 | 
				
			||||||
            SendToUsers = Array.Empty<string>();
 | 
					            SendToUsers = Array.Empty<string>();
 | 
				
			||||||
        }
 | 
					        }
 | 
				
			||||||
 | 
					
 | 
				
			||||||
        public string Type { get; set; }
 | 
					        public string? Type { get; set; }
 | 
				
			||||||
 | 
					
 | 
				
			||||||
        /// <summary>
 | 
					        /// <summary>
 | 
				
			||||||
        /// User Ids to not monitor (it's opt out).
 | 
					        /// Gets or sets user Ids to not monitor (it's opt out).
 | 
				
			||||||
        /// </summary>
 | 
					        /// </summary>
 | 
				
			||||||
        public string[] DisabledMonitorUsers { get; set; }
 | 
					        public string[] DisabledMonitorUsers { get; set; }
 | 
				
			||||||
 | 
					
 | 
				
			||||||
        /// <summary>
 | 
					        /// <summary>
 | 
				
			||||||
        /// User Ids to send to (if SendToUserMode == Custom)
 | 
					        /// Gets or sets user Ids to send to (if SendToUserMode == Custom).
 | 
				
			||||||
        /// </summary>
 | 
					        /// </summary>
 | 
				
			||||||
        public string[] SendToUsers { get; set; }
 | 
					        public string[] SendToUsers { get; set; }
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
				
			|||||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user