14 lines
329 B
C#
14 lines
329 B
C#
using FluentValidation;
|
|
|
|
namespace 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();
|
|
}
|
|
}
|