diff options
| author | Greenback <jimcartlidge@yahoo.co.uk> | 2020-10-08 19:00:30 +0100 |
|---|---|---|
| committer | Greenback <jimcartlidge@yahoo.co.uk> | 2020-10-08 19:00:30 +0100 |
| commit | a3f0843ac97c64a8a412d707baa9870d0e53dcff (patch) | |
| tree | 7bd0b64223513e520b32ba44df6ed06380a9e540 /Jellyfin.Networking/Configuration/NetworkConfigurationFactory.cs | |
| parent | 2e3901252a02c79efa53f21f4695e45f6c580a59 (diff) | |
Updated NetworkManager to PR1
Diffstat (limited to 'Jellyfin.Networking/Configuration/NetworkConfigurationFactory.cs')
| -rw-r--r-- | Jellyfin.Networking/Configuration/NetworkConfigurationFactory.cs | 27 |
1 files changed, 27 insertions, 0 deletions
diff --git a/Jellyfin.Networking/Configuration/NetworkConfigurationFactory.cs b/Jellyfin.Networking/Configuration/NetworkConfigurationFactory.cs new file mode 100644 index 000000000..ac0485d87 --- /dev/null +++ b/Jellyfin.Networking/Configuration/NetworkConfigurationFactory.cs @@ -0,0 +1,27 @@ +using System.Collections.Generic; +using MediaBrowser.Common.Configuration; + +namespace Jellyfin.Networking.Configuration +{ + /// <summary> + /// Defines the <see cref="NetworkConfigurationFactory" />. + /// </summary> + public class NetworkConfigurationFactory : IConfigurationFactory + { + /// <summary> + /// The GetConfigurations. + /// </summary> + /// <returns>The <see cref="IEnumerable{ConfigurationStore}"/>.</returns> + public IEnumerable<ConfigurationStore> GetConfigurations() + { + return new[] + { + new ConfigurationStore + { + Key = "network", + ConfigurationType = typeof(NetworkConfiguration) + } + }; + } + } +} |
