2013-08-22 10:08:43 +02:00
|
|
|
|
using FluentValidation.Results;
|
|
|
|
|
|
|
|
|
|
namespace NzbDrone.Core.Indexers
|
2013-04-07 09:30:37 +02:00
|
|
|
|
{
|
|
|
|
|
public interface IIndexerSetting
|
|
|
|
|
{
|
2013-08-22 10:08:43 +02:00
|
|
|
|
ValidationResult Validate();
|
2013-04-07 09:30:37 +02:00
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
public class NullSetting : IIndexerSetting
|
|
|
|
|
{
|
2013-08-22 10:08:43 +02:00
|
|
|
|
public static readonly NullSetting Instance = new NullSetting();
|
2013-05-02 03:59:09 +02:00
|
|
|
|
|
2013-08-22 10:08:43 +02:00
|
|
|
|
public ValidationResult Validate()
|
2013-04-07 09:30:37 +02:00
|
|
|
|
{
|
2013-08-22 10:08:43 +02:00
|
|
|
|
return new ValidationResult();
|
2013-04-07 09:30:37 +02:00
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
}
|