NetworkConfigurationStore.cs 710 B

123456789101112131415161718192021222324
  1. using MediaBrowser.Common.Configuration;
  2. namespace Jellyfin.Networking.Configuration
  3. {
  4. /// <summary>
  5. /// A configuration that stores network related settings.
  6. /// </summary>
  7. public class NetworkConfigurationStore : ConfigurationStore
  8. {
  9. /// <summary>
  10. /// The name of the configuration in the storage.
  11. /// </summary>
  12. public const string StoreKey = "network";
  13. /// <summary>
  14. /// Initializes a new instance of the <see cref="NetworkConfigurationStore"/> class.
  15. /// </summary>
  16. public NetworkConfigurationStore()
  17. {
  18. ConfigurationType = typeof(NetworkConfiguration);
  19. Key = StoreKey;
  20. }
  21. }
  22. }