Fixed: Validation inheritance

This commit is contained in:
Bogdan
2023-01-19 04:52:04 +02:00
committed by Qstick
parent 27094ccf62
commit d6b379df64
31 changed files with 120 additions and 111 deletions
@@ -4,9 +4,13 @@ using NzbDrone.Core.Validation;
namespace NzbDrone.Core.Indexers.Definitions.Xthor
{
public class XthorSettingsValidator : NoAuthSettingsValidator<XthorSettings>
{
}
public class XthorSettings : NoAuthTorrentBaseSettings
{
private static readonly XthorSettingsValidator Validator = new XthorSettingsValidator();
private static readonly XthorSettingsValidator Validator = new ();
public XthorSettings()
{
@@ -1,8 +0,0 @@
using FluentValidation;
namespace NzbDrone.Core.Indexers.Definitions.Xthor
{
public class XthorSettingsValidator : AbstractValidator<XthorSettings>
{
}
}