mirror of
https://github.com/jellyfin/jellyfin.git
synced 2026-07-15 02:33:33 +01:00
Prepared Seperation of Database components for future multi provider support
This commit is contained in:
@@ -0,0 +1,25 @@
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using MediaBrowser.Common.Configuration;
|
||||
|
||||
namespace Jellyfin.Server.Implementations.DatabaseConfiguration;
|
||||
|
||||
/// <summary>
|
||||
/// A configuration that stores database related settings.
|
||||
/// </summary>
|
||||
public class DatabaseConfigurationStore : ConfigurationStore
|
||||
{
|
||||
/// <summary>
|
||||
/// The name of the configuration in the storage.
|
||||
/// </summary>
|
||||
public const string StoreKey = "database";
|
||||
|
||||
/// <summary>
|
||||
/// Initializes a new instance of the <see cref="DatabaseConfigurationStore"/> class.
|
||||
/// </summary>
|
||||
public DatabaseConfigurationStore()
|
||||
{
|
||||
ConfigurationType = typeof(DatabaseConfigurationOptions);
|
||||
Key = StoreKey;
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user