2
0

DatabaseConfigurationStore.cs 717 B

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