Added Qualties to Settings

This commit is contained in:
Devin Buhl
2017-01-17 20:30:21 -05:00
parent 6878abe2a2
commit b02944a3b2
7 changed files with 20 additions and 7 deletions

View File

@@ -22,6 +22,7 @@ namespace NzbDrone.Core.NetImport
public abstract string Name { get; }
public abstract string Link { get; }
public abstract int ProfileId { get; }
public abstract bool Enabled { get; }
@@ -46,6 +47,7 @@ namespace NzbDrone.Core.NetImport
{
Name = GetType().Name,
Link = Link,
ProfileId = ProfileId,
Enabled = config.Validate().IsValid && Enabled,
Implementation = GetType().Name,
Settings = config