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