mirror of
https://github.com/Sonarr/Sonarr.git
synced 2024-12-18 23:48:35 +02:00
29 lines
681 B
C#
29 lines
681 B
C#
|
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 string ConfigContract { get; set; }
|
||
|
|
||
|
public IProviderConfig Settings
|
||
|
{
|
||
|
get
|
||
|
{
|
||
|
return _settings;
|
||
|
}
|
||
|
set
|
||
|
{
|
||
|
_settings = value;
|
||
|
if (value != null)
|
||
|
{
|
||
|
ConfigContract = value.GetType().Name;
|
||
|
}
|
||
|
}
|
||
|
}
|
||
|
}
|
||
|
}
|