19 lines
374 B
C#
19 lines
374 B
C#
using FluentValidation;
|
|
|
|
namespace MfGames.Nitride.Feeds;
|
|
|
|
public class CreateAtomFeedValidator : AbstractValidator<CreateAtomFeed>
|
|
{
|
|
public CreateAtomFeedValidator()
|
|
{
|
|
this.RuleFor(x => x.GetEntries)
|
|
.NotNull();
|
|
|
|
this.RuleFor(x => x.GetPath)
|
|
.NotNull();
|
|
|
|
this.RuleFor(x => x.GetTitle)
|
|
.NotNull();
|
|
}
|
|
}
|