Ejemplo n.º 1
0
 public override int GetHashCode()
 {
     unchecked {
         return(IsEmptyOrInvalid ? 0 : (LatitudeValue.GetHashCode() * 397) ^ LongitudeValue.GetHashCode());
     }
 }
Ejemplo n.º 2
0
 protected bool Equals(GeoTagsEntry other)
 {
     if (other == null)
     {
         return(false);
     }
     return(IsEmptyOrInvalid
             ? other.IsEmptyOrInvalid
             : !other.IsEmptyOrInvalid && LatitudeValue.Equals(other.LatitudeValue) && LongitudeValue.Equals(other.LongitudeValue));
 }