public void Remove(IHierarchicalTreeLeaf leadData, HierarchicalTreeSettingsData customSettings = null) { GetSettings(ref customSettings); var activeBranch = SearchForBranch(leadData.Path, true, customSettings); if (activeBranch == null) { return; } var leaf = new TreeLeaf <IHierarchicalTreeLeaf>(string.Empty, string.Empty, leadData); activeBranch.Leaves.Remove(leaf); }
public virtual bool AcceptLeaf(IHierarchicalTreeLeaf leaf) { return(true); }
public abstract void Add(IHierarchicalTreeLeaf leaf);