1
0
mirror of https://github.com/Radarr/Radarr.git synced 2024-10-06 08:07:20 +02:00
Radarr/src/NzbDrone.Core/ThingiProvider/ProviderDefinition.cs
Mark McDowall 27da44ba45 Converted notifications to thingi provider
Fixed: Issues creating and saving Connects
2013-10-12 12:05:37 -07:00

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;
}
}
}
}
}