예제 #1
0
		Func<ContentItem, string> liClassProvider; // obsolete

		#region Constructor

		public Tree(HierarchyBuilder builder)
		{
			hierarchy = builder ?? new FixedHierarchyBuilder(new HierarchyNode<ContentItem>(null));
			linkWriter = (n, w) => Link.To(n.Current).WriteTo(w);
		}
예제 #2
0
 public ParallelRootHierarchyBuilder(ContentItem rootItem, int maxDepth)
 {
     inner = new TreeHierarchyBuilder(rootItem, maxDepth);
 }
예제 #3
0
		public static Tree Using(HierarchyBuilder hierarchy)
		{
			return TreeFactory(hierarchy);
		}
 public ParallelRootHierarchyBuilder(ContentItem rootItem, int maxDepth)
 {
     inner = new TreeHierarchyBuilder(rootItem, maxDepth);
 }
예제 #5
0
 public TreeBuilder(HierarchyBuilder builder)
     : base(builder)
 {
 }
예제 #6
0
 protected virtual Tree CreateTree(HierarchyBuilder hierarchy)
 {
     return Tree.Using(hierarchy);
 }
 public ItemHierarchyNavigator(HierarchyBuilder builder)
 {
     currentNode = builder.Build();
 }
 public ItemHierarchyNavigator(HierarchyBuilder builder, params ItemFilter[] filters)
 {
     currentNode = builder.Children(filters).Build();
 }