DlnaConfigurationFactory.cs 568 B

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