protected internal override void Apply(RenderOut renderer, Component c) { if (up) { renderer[file].Indent++; } else { renderer[file].Indent--; } }
protected internal override void Apply(RenderOut renderer, Component c) { renderer.Write(file, text); }
protected internal override void Apply(RenderOut renderer, Component t) { renderer.WriteLine(file, line); }
internal protected abstract void Apply(RenderOut renderer, Component t);
protected internal override void Apply(RenderOut renderer, T t) { renderer.Write(file, t.GetType().GetField(fieldName).GetValue(t).ToString()); }
public RendererTemplate(RenderOut renderOut, IEnumerable <Type> allowedRenderers, Func <(string extention, string alias), RenderOut, FileOut <T> > fileOutBuilder)