NotificationConfigurationFactory.cs 644 B

123456789101112131415161718192021222324
  1. #pragma warning disable CS1591
  2. #pragma warning disable SA1600
  3. using System.Collections.Generic;
  4. using MediaBrowser.Common.Configuration;
  5. using MediaBrowser.Model.Notifications;
  6. namespace Emby.Notifications
  7. {
  8. public class NotificationConfigurationFactory : IConfigurationFactory
  9. {
  10. public IEnumerable<ConfigurationStore> GetConfigurations()
  11. {
  12. return new ConfigurationStore[]
  13. {
  14. new ConfigurationStore
  15. {
  16. Key = "notifications",
  17. ConfigurationType = typeof(NotificationOptions)
  18. }
  19. };
  20. }
  21. }
  22. }