You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
28 lines
790 B
28 lines
790 B
4 years ago
|
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)
|
||
|
}
|
||
|
};
|
||
|
}
|
||
|
}
|
||
|
}
|