2016-03-25 02:56:29 +02:00
|
|
|
using System;
|
|
|
|
using System.Linq;
|
2014-08-05 08:44:09 +03:00
|
|
|
using System.Reflection;
|
|
|
|
using NzbDrone.Core.Configuration;
|
|
|
|
|
|
|
|
namespace NzbDrone.Api.Config
|
|
|
|
{
|
2016-03-25 02:56:29 +02:00
|
|
|
public class UiConfigModule : NzbDroneConfigModule<UiConfigResource>
|
2014-08-05 08:44:09 +03:00
|
|
|
{
|
|
|
|
public UiConfigModule(IConfigService configService)
|
2016-03-25 02:56:29 +02:00
|
|
|
: base(configService)
|
2014-08-05 08:44:09 +03:00
|
|
|
{
|
|
|
|
|
|
|
|
}
|
|
|
|
|
2016-03-25 02:56:29 +02:00
|
|
|
protected override UiConfigResource ToResource(IConfigService model)
|
2014-08-05 08:44:09 +03:00
|
|
|
{
|
2016-03-25 02:56:29 +02:00
|
|
|
return UiConfigResourceMapper.ToResource(model);
|
2014-08-05 08:44:09 +03:00
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|