private bool PredecessorIsInSameHierarchy(Ticket other) { return(this.GetRoot().Equals(other.GetRoot())); }
public bool IsChildOf(Ticket other) { return(other.GetChildrenRecursive().FirstOrDefault(child => child.Equals(this)) != null); }