public override void Render(Context context, StringBuilder result) { context.Stack(() => { context["block"] = new BlockDrop(this); RenderAll(NodeList, context, result); }); }
public override void Render(Context context, TextWriter result) { BlockRenderState blockState = BlockRenderState.Find(context); context.Stack(() => { context["block"] = new BlockDrop(this, result); RenderAll(GetNodeList(blockState), context, result); }); }
public override void Render(Context context, StreamWriter result) { _result = result; context.Stack(() => { context["block"] = new BlockDrop(this); RenderAll(NodeList, context, result); }); }
public override Task RenderAsync(Context context, TextWriter result) { BlockRenderState blockState = BlockRenderState.Find(context); return(context.Stack(() => { context["block"] = new BlockDrop(this, result); return RenderAllAsync(GetNodeList(blockState), context, result); })); }
public override void Render(Context context, TextWriter result) { _result = result; context.Stack(() => { context["block"] = new BlockDrop(this); RenderAll(NodeList, context, result); }); }