This repository has been archived on 2023-02-02. You can view files and clone it, but cannot push or open issues or pull requests.
mfgames-nitride-cil/src/MfGames.Nitride.Temporal.Schedules/Validators/ApplySchedulesValidator.cs
D. Moonfire 07eb12414a
All checks were successful
ci/woodpecker/push/woodpecker Pipeline was successful
ci/woodpecker/tag/woodpecker Pipeline was successful
refactor(temporal)!: renamed Timekeeper to TimeService
2023-01-21 01:52:52 -06:00

16 lines
341 B
C#

using FluentValidation;
namespace MfGames.Nitride.Temporal.Schedules.Validators;
public class ApplySchedulesValidator : AbstractValidator<ApplySchedules>
{
public ApplySchedulesValidator()
{
this.RuleFor(x => x.GetSchedules)
.NotNull();
this.RuleFor(x => x.TimeService)
.NotNull();
}
}