public void GivenRootBacklogItem(string name, string parentName) { var parent = allItems[parentName]; var newItem = new BacklogItem(name, parent); parent.ChildList.Add(newItem); allItems.Add(newItem.Name, newItem); }
public BacklogItem(string Name, BacklogItem parent) { this.Name = Name; this.Parent = parent; }
public void GivenRootBacklogItem(string name) { var newItem = new BacklogItem(name, null); rootItems.Add(newItem); allItems.Add(newItem.Name, newItem); }