2014-02-14 05:31:49 +00:00
|
|
|
|
using NzbDrone.Core.Download;
|
|
|
|
|
|
|
|
|
|
namespace NzbDrone.Api.DownloadClient
|
|
|
|
|
{
|
|
|
|
|
public class DownloadClientModule : ProviderModuleBase<DownloadClientResource, IDownloadClient, DownloadClientDefinition>
|
|
|
|
|
{
|
|
|
|
|
public DownloadClientModule(IDownloadClientFactory downloadClientFactory)
|
|
|
|
|
: base(downloadClientFactory, "downloadclient")
|
|
|
|
|
{
|
|
|
|
|
}
|
|
|
|
|
|
2015-02-17 23:43:33 +00:00
|
|
|
|
protected override void Validate(DownloadClientDefinition definition, bool includeWarnings)
|
2014-02-14 05:31:49 +00:00
|
|
|
|
{
|
|
|
|
|
if (!definition.Enable) return;
|
2015-02-17 23:43:33 +00:00
|
|
|
|
base.Validate(definition, includeWarnings);
|
2014-02-14 05:31:49 +00:00
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
}
|