diff options
| author | Patrick Barron <barronpm@gmail.com> | 2023-11-10 11:10:51 -0500 |
|---|---|---|
| committer | Patrick Barron <barronpm@gmail.com> | 2023-11-12 10:24:35 -0500 |
| commit | e463dbda47cc51d9e774e867140921f001a3a52a (patch) | |
| tree | 27dec089574867d4d855a1453f6144f6923e5460 /MediaBrowser.Common/Net/NetworkConfigurationStore.cs | |
| parent | 9595636d6105bbe77292d87c7016c21f9df8d4c7 (diff) | |
Move network configuration to MediaBrowser.Common
Diffstat (limited to 'MediaBrowser.Common/Net/NetworkConfigurationStore.cs')
| -rw-r--r-- | MediaBrowser.Common/Net/NetworkConfigurationStore.cs | 23 |
1 files changed, 23 insertions, 0 deletions
diff --git a/MediaBrowser.Common/Net/NetworkConfigurationStore.cs b/MediaBrowser.Common/Net/NetworkConfigurationStore.cs new file mode 100644 index 000000000..d2f518707 --- /dev/null +++ b/MediaBrowser.Common/Net/NetworkConfigurationStore.cs @@ -0,0 +1,23 @@ +using MediaBrowser.Common.Configuration; + +namespace MediaBrowser.Common.Net; + +/// <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; + } +} |
