public bool Equals(BranchLocation other)
 {
     if (ReferenceEquals(null, other))
     {
         return(false);
     }
     if (ReferenceEquals(this, other))
     {
         return(true);
     }
     return(other.Location.Equals(Location) && other.OutgointBranchLabel == OutgointBranchLabel);
 }
 public bool Equals(BranchLocation other)
 {
     if (ReferenceEquals(null, other)) return false;
     if (ReferenceEquals(this, other)) return true;
     return other.Location.Equals(Location) && other.OutgointBranchLabel == OutgointBranchLabel;
 }