mirror of
https://github.com/jellyfin/jellyfin.git
synced 2024-09-08 04:18:06 +02:00
* Enable TreatWarningsAsErrors for Emby.Notifications * Add analyzers to Emby.Notifications
24 lines
644 B
C#
24 lines
644 B
C#
#pragma warning disable CS1591
|
|
#pragma warning disable SA1600
|
|
|
|
using System.Collections.Generic;
|
|
using MediaBrowser.Common.Configuration;
|
|
using MediaBrowser.Model.Notifications;
|
|
|
|
namespace Emby.Notifications
|
|
{
|
|
public class NotificationConfigurationFactory : IConfigurationFactory
|
|
{
|
|
public IEnumerable<ConfigurationStore> GetConfigurations()
|
|
{
|
|
return new ConfigurationStore[]
|
|
{
|
|
new ConfigurationStore
|
|
{
|
|
Key = "notifications",
|
|
ConfigurationType = typeof(NotificationOptions)
|
|
}
|
|
};
|
|
}
|
|
}
|
|
}
|