예제 #1
0
        public object Transform(Func <string, object[], object> buildBranch, Func <string, object, object> buildLeaf)
        {
            var transformer = new PathTreeTransformer(buildBranch, buildLeaf);

            return(transformer.Transform("", Root));
        }
예제 #2
0
 public object Transform(Func<string, object[], object> buildBranch, Func<string, object, object> buildLeaf)
 {
     var transformer = new PathTreeTransformer(buildBranch, buildLeaf);
     return transformer.Transform("", Root);
 }