public override int GetHashCode()
 {
     if (ParentItem != null && ChildItem != null)
     {
         return(ParentItem.GetHashCode() ^ ChildItem.GetHashCode());
     }
     else
     {
         return(base.GetHashCode());
     }
 }