using FluentValidation; using System; using System.Linq.Expressions; namespace zero.Core.Renderer { public abstract class AbstractRenderer : IRenderer { protected string LabelTemplate = null; protected string DescriptionTemplate = null; protected IValidator Validator = null; protected virtual IRendererFieldBuilder Field(ConstructorField field) { return null; } protected virtual IRendererFieldBuilder Field(Expression> mapExpression, string label = null, string description = null, bool required = false) { return null; } protected virtual IRenderer Tab(string name, Action builder) { return null; } protected virtual IRenderer Box(string name, string description, Action builder) { return null; } } }