You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
30 lines
722 B
30 lines
722 B
using NzbDrone.Core.Datastore;
|
|
|
|
namespace NzbDrone.Core.ThingiProvider
|
|
{
|
|
public abstract class ProviderDefinition : ModelBase
|
|
{
|
|
private IProviderConfig _settings;
|
|
public string Name { get; set; }
|
|
public string Implementation { get; set; }
|
|
public bool Enable { get; set; }
|
|
|
|
public string ConfigContract { get; set; }
|
|
|
|
public IProviderConfig Settings
|
|
{
|
|
get
|
|
{
|
|
return _settings;
|
|
}
|
|
set
|
|
{
|
|
_settings = value;
|
|
if (value != null)
|
|
{
|
|
ConfigContract = value.GetType().Name;
|
|
}
|
|
}
|
|
}
|
|
}
|
|
} |