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