Big Abstraction for IMDBWatchlist -> RSSImport (With a test)

This commit is contained in:
Leonardo Galli
2017-01-21 20:29:31 +01:00
parent 734a36de06
commit a98b69859c
17 changed files with 2104 additions and 118 deletions

View File

@@ -21,8 +21,6 @@ namespace NzbDrone.Core.NetImport
protected readonly Logger _logger;
public abstract string Name { get; }
public abstract string Link { get; }
public abstract int ProfileId { get; }
public abstract bool Enabled { get; }
@@ -46,8 +44,6 @@ namespace NzbDrone.Core.NetImport
yield return new NetImportDefinition
{
Name = GetType().Name,
Link = Link,
ProfileId = ProfileId,
Enabled = config.Validate().IsValid && Enabled,
Implementation = GetType().Name,
Settings = config