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