Esempio n. 1
0
 /// <summary>Builds the hierachy using the specified child factory method.</summary>
 /// <param name="childFactory">The method resolving children.</param>
 /// <returns></returns>
 public HierarchyBuilder Children(ChildFactoryDelegate childFactory)
 {
     GetChildren = childFactory;
     return(this);
 }
Esempio n. 2
0
 /// <summary>Builds the hierachy using the specified child factory method.</summary>
 /// <param name="childFactory">The method resolving children.</param>
 /// <returns></returns>
 public HierarchyBuilder Children(ChildFactoryDelegate childFactory)
 {
     GetChildren = childFactory;
     return this;
 }
Esempio n. 3
0
 /// <summary>Builds the hierachy using the specified child factory method.</summary>
 /// <param name="filters">The filters.</param>
 /// <returns></returns>
 public HierarchyBuilder Children(params ItemFilter[] filters)
 {
     GetChildren = (item) => item.GetChildren(filters);
     return this;
 }