BrandingConfigurationFactory.cs 695 B

12345678910111213141516171819202122232425
  1. using System.Collections.Generic;
  2. using MediaBrowser.Common.Configuration;
  3. using MediaBrowser.Model.Branding;
  4. namespace Emby.Server.Implementations.Branding
  5. {
  6. /// <summary>
  7. /// A configuration factory for <see cref="BrandingOptions"/>.
  8. /// </summary>
  9. public class BrandingConfigurationFactory : IConfigurationFactory
  10. {
  11. /// <inheritdoc />
  12. public IEnumerable<ConfigurationStore> GetConfigurations()
  13. {
  14. return new[]
  15. {
  16. new ConfigurationStore
  17. {
  18. ConfigurationType = typeof(BrandingOptions),
  19. Key = "branding"
  20. }
  21. };
  22. }
  23. }
  24. }