2013-04-07 07:30:37 +00:00
|
|
|
|
namespace NzbDrone.Core.Indexers
|
|
|
|
|
{
|
|
|
|
|
public interface IIndexerSetting
|
|
|
|
|
{
|
|
|
|
|
bool IsValid { get; }
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
public class NullSetting : IIndexerSetting
|
|
|
|
|
{
|
2013-05-02 01:59:09 +00:00
|
|
|
|
public static NullSetting Instance = new NullSetting();
|
|
|
|
|
|
|
|
|
|
private NullSetting()
|
|
|
|
|
{
|
|
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
2013-04-07 07:30:37 +00:00
|
|
|
|
public bool IsValid
|
|
|
|
|
{
|
|
|
|
|
get
|
|
|
|
|
{
|
|
|
|
|
return true;
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
}
|