Esempio n. 1
0
 public override string Render(RenderedFormats renderedFormats, string morph = null)
 {
     if (morph == Global.MORPH_TILE)
     {
         return(Context.GetLogic <VariableBinder>().Bind(
                    Context.GetLogic <Storage>().LoadTemplate("postTile.html"),
                    this
                    ).ToString());
     }
     return(base.Render(renderedFormats, morph));
 }
Esempio n. 2
0
 public virtual string Render(RenderedFormats renderedFormats, string morph = null) =>
 Context.GetLogic <VariableBinder>()
 .Bind(
     Context.GetLogic <Storage>().LoadTemplate(TemplateName),
     this
     ).ToString();