/// <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); }
/// <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; }
/// <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; }