diff options
| author | cvium <clausvium@gmail.com> | 2021-11-24 13:42:14 +0100 |
|---|---|---|
| committer | cvium <clausvium@gmail.com> | 2021-11-24 13:42:14 +0100 |
| commit | 0485ff189948e4c0b6532e835b9f6740e89d0d40 (patch) | |
| tree | 870f1b925394d78047262966fcb20dcb4ab64c69 /Jellyfin.Networking/Configuration/NetworkConfigurationStore.cs | |
| parent | 69df004b9f62cb65986607d659fde0dcc74004ab (diff) | |
Create a store key constant for network
Diffstat (limited to 'Jellyfin.Networking/Configuration/NetworkConfigurationStore.cs')
| -rw-r--r-- | Jellyfin.Networking/Configuration/NetworkConfigurationStore.cs | 24 |
1 files changed, 24 insertions, 0 deletions
diff --git a/Jellyfin.Networking/Configuration/NetworkConfigurationStore.cs b/Jellyfin.Networking/Configuration/NetworkConfigurationStore.cs new file mode 100644 index 000000000..a268ebb68 --- /dev/null +++ b/Jellyfin.Networking/Configuration/NetworkConfigurationStore.cs @@ -0,0 +1,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; + } + } +} |
