19 lines
378 B
C#
19 lines
378 B
C#
using FluentValidation;
|
|
|
|
namespace MfGames.Nitride.IO.Directories;
|
|
|
|
public class ClearDirectoryValidator : AbstractValidator<ClearDirectory>
|
|
{
|
|
public ClearDirectoryValidator()
|
|
{
|
|
this.RuleFor(x => x.Path)
|
|
.NotNull();
|
|
|
|
this.RuleFor(x => x.FileSystem)
|
|
.NotNull();
|
|
|
|
this.RuleFor(x => x.Logger)
|
|
.NotNull();
|
|
}
|
|
}
|