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