NotificationConfigurationFactory.cs 582 B

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