NetworkConfigurationFactory.cs 657 B

1234567891011121314151617181920212223
  1. using System.Collections.Generic;
  2. using MediaBrowser.Common.Configuration;
  3. namespace Jellyfin.Networking.Configuration
  4. {
  5. /// <summary>
  6. /// Defines the <see cref="NetworkConfigurationFactory" />.
  7. /// </summary>
  8. public class NetworkConfigurationFactory : IConfigurationFactory
  9. {
  10. /// <summary>
  11. /// The GetConfigurations.
  12. /// </summary>
  13. /// <returns>The <see cref="IEnumerable{ConfigurationStore}"/>.</returns>
  14. public IEnumerable<ConfigurationStore> GetConfigurations()
  15. {
  16. return new[]
  17. {
  18. new NetworkConfigurationStore()
  19. };
  20. }
  21. }
  22. }