aboutsummaryrefslogtreecommitdiff
path: root/Jellyfin.Networking/Configuration/NetworkConfigurationStore.cs
blob: a268ebb68f10a6068b8e713df6593505b12c77ba (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
using MediaBrowser.Common.Configuration;

namespace Jellyfin.Networking.Configuration
{
    /// <summary>
    /// A configuration that stores network related settings.
    /// </summary>
    public class NetworkConfigurationStore : ConfigurationStore
    {
        /// <summary>
        /// The name of the configuration in the storage.
        /// </summary>
        public const string StoreKey = "network";

        /// <summary>
        /// Initializes a new instance of the <see cref="NetworkConfigurationStore"/> class.
        /// </summary>
        public NetworkConfigurationStore()
        {
            ConfigurationType = typeof(NetworkConfiguration);
            Key = StoreKey;
        }
    }
}