public void RemoveItemFromCurrentGroup(ProcessItem item) { string name = item.Name; var child = CurrentGroup.FirstOrDefault(i => i.Name == name); if (child != null && child.Name == name) { CurrentGroup.Remove(child); } }
public void RemoveItemFromCurrentGroup(ProcessItem item) { string name = item.Name; var child = CurrentGroup.FirstOrDefault(i => i.Name == name); if (child != null && child.Name == name) { CurrentGroup.Remove(child); } }