mirror of
https://github.com/jellyfin/jellyfin.git
synced 2024-09-06 19:37:55 +02:00
28 lines
790 B
C#
28 lines
790 B
C#
|
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)
|
||
|
}
|
||
|
};
|
||
|
}
|
||
|
}
|
||
|
}
|