jellyfin/Emby.Dlna/ConfigurationExtension.cs

17 lines
382 B
C#
Raw Normal View History

#nullable enable
#pragma warning disable CS1591
2018-09-12 17:26:21 +00:00
using Emby.Dlna.Configuration;
2019-01-13 19:16:19 +00:00
using MediaBrowser.Common.Configuration;
2016-10-29 22:22:20 +00:00
2016-10-29 22:34:54 +00:00
namespace Emby.Dlna
2016-10-29 22:22:20 +00:00
{
public static class ConfigurationExtension
{
public static DlnaOptions GetDlnaConfiguration(this IConfigurationManager manager)
{
return manager.GetConfiguration<DlnaOptions>("dlna");
}
}
}