/// <summary> /// Makes the contents of this message dump to a easy to understand string /// </summary> /// <returns></returns> public override string ToString() { return(string.Format( "{0} - {1:1;0;0}{2:1;0;0}{3:1;0;0}", ErrorCode, Position1.GetHashCode(), Position2.GetHashCode(), Position3.GetHashCode())); }
public override int GetHashCode() { unchecked { var hashCode = Position1.GetHashCode(); hashCode = (hashCode * 397) ^ Position2.GetHashCode(); hashCode = (hashCode * 397) ^ Position3.GetHashCode(); return(hashCode); } }