public override int GetHashCode() { int hash = 57; hash = 27 * hash * Latitude.GetHashCode(); hash = 27 * hash * Longitude.GetHashCode(); hash = 27 * hash * FixTime.GetHashCode(); return(hash); }
public override bool Equals(object obj) { if (obj == null) { return(false); } if (obj.GetType() != this.GetType()) { return(false); } WorldPoint other = (WorldPoint)obj; return (Latitude.Equals(other.Latitude) && Longitude.Equals(other.Longitude) && FixTime.Equals(other.FixTime)); }