using NzbDrone.Core.Download; namespace Radarr.Api.V3.DownloadClient { public class DownloadClientModule : ProviderModuleBase { public static readonly DownloadClientResourceMapper ResourceMapper = new DownloadClientResourceMapper(); public DownloadClientModule(IDownloadClientFactory downloadClientFactory) : base(downloadClientFactory, "downloadclient", ResourceMapper) { } protected override void Validate(DownloadClientDefinition definition, bool includeWarnings) { if (!definition.Enable) return; base.Validate(definition, includeWarnings); } } }