Пример #1
0
 protected internal override void Apply(RenderOut renderer, Component c)
 {
     if (up)
     {
         renderer[file].Indent++;
     }
     else
     {
         renderer[file].Indent--;
     }
 }
Пример #2
0
 protected internal override void Apply(RenderOut renderer, Component c)
 {
     renderer.Write(file, text);
 }
Пример #3
0
 protected internal override void Apply(RenderOut renderer, Component t)
 {
     renderer.WriteLine(file, line);
 }
Пример #4
0
 internal protected abstract void Apply(RenderOut renderer, Component t);
Пример #5
0
 protected internal override void Apply(RenderOut renderer, T t)
 {
     renderer.Write(file, t.GetType().GetField(fieldName).GetValue(t).ToString());
 }
Пример #6
0
 public RendererTemplate(RenderOut renderOut, IEnumerable <Type> allowedRenderers, Func <(string extention, string alias), RenderOut, FileOut <T> > fileOutBuilder)