public Layout LoadFor(Layout layout)
        {
            context.Store.Add("TemplateParent", layout);
            var loadFor = (Layout)builder.Build(node.Clone(), context);

            context.Store.Remove("TemplateParent");
            return(loadFor);
        }
Exemple #2
0
 public object Load()
 {
     return(builder.Build(node));
 }