12 lines
279 B
C#
12 lines
279 B
C#
using FluentValidation;
|
|
|
|
namespace Nitride.Handlebars;
|
|
|
|
public class RenderContentTemplateValidator<TModel> : AbstractValidator<RenderContentTemplate<TModel>>
|
|
{
|
|
public RenderContentTemplateValidator()
|
|
{
|
|
this.RuleFor(x => x.CreateModelCallback).NotNull();
|
|
}
|
|
}
|