diff options
| author | Bond-009 <bond.009@outlook.com> | 2023-11-14 21:10:41 +0100 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2023-11-14 21:10:41 +0100 |
| commit | 3ec2d5592ed296f444ae5e5dafd23985def13110 (patch) | |
| tree | 4423723a661e1f8656ce95edec1bd249fc46fe5a /MediaBrowser.Common/Net/NetworkConfigurationFactory.cs | |
| parent | ea546230586a00a75db5c379db904e47cbbf270b (diff) | |
| parent | de0241e975c6b765f2af465734635a1a024a142a (diff) | |
Merge pull request #10574 from barronpm/dlna-plugin3
Move DLNA to Plugin (Part 1 (Part 2))
Diffstat (limited to 'MediaBrowser.Common/Net/NetworkConfigurationFactory.cs')
| -rw-r--r-- | MediaBrowser.Common/Net/NetworkConfigurationFactory.cs | 22 |
1 files changed, 22 insertions, 0 deletions
diff --git a/MediaBrowser.Common/Net/NetworkConfigurationFactory.cs b/MediaBrowser.Common/Net/NetworkConfigurationFactory.cs new file mode 100644 index 000000000..9309834f4 --- /dev/null +++ b/MediaBrowser.Common/Net/NetworkConfigurationFactory.cs @@ -0,0 +1,22 @@ +using System.Collections.Generic; +using MediaBrowser.Common.Configuration; + +namespace MediaBrowser.Common.Net; + +/// <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 NetworkConfigurationStore() + }; + } +} |
