NotificationConfigurationFactory.cs 613 B

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