mirror of
https://github.com/Sonarr/Sonarr.git
synced 2024-12-18 23:48:35 +02:00
23 lines
566 B
C#
23 lines
566 B
C#
using System;
|
|
using NzbDrone.Core.ThingiProvider;
|
|
|
|
namespace NzbDrone.Core.Indexers
|
|
{
|
|
public class IndexerDefinition : ProviderDefinition
|
|
{
|
|
public Boolean EnableRss { get; set; }
|
|
public Boolean EnableSearch { get; set; }
|
|
public DownloadProtocol Protocol { get; set; }
|
|
public Boolean SupportsRss { get; set; }
|
|
public Boolean SupportsSearch { get; set; }
|
|
|
|
public override Boolean Enable
|
|
{
|
|
get
|
|
{
|
|
return EnableRss || EnableSearch;
|
|
}
|
|
}
|
|
}
|
|
}
|