public override int GetHashCode() { const int hashIndex = 307; var result = (BeginPoint != null) ? BeginPoint.GetHashCode() : 0; result = (result * hashIndex) ^ ((EndPoint != null) ? EndPoint.GetHashCode() : 0); return(result); }
public override int GetHashCode() { const int hashIndex = 307; var result = (Center != null) ? Center.GetHashCode() : 0; result = (result * hashIndex) ^ ((BeginPoint != null) ? BeginPoint.GetHashCode() : 0); result = (result * hashIndex) ^ ((EndPoint != null) ? EndPoint.GetHashCode() : 0); result = (result * hashIndex) ^ ArcDirection.GetHashCode(); return(result); }
public override int GetHashCode() { int hash = 1; if (Key.Length != 0) { hash ^= Key.GetHashCode(); } if (Type != 0) { hash ^= Type.GetHashCode(); } if (Broadcast != false) { hash ^= Broadcast.GetHashCode(); } if (Name.Length != 0) { hash ^= Name.GetHashCode(); } if (Avatar.Length != 0) { hash ^= Avatar.GetHashCode(); } if (Seat != 0) { hash ^= Seat.GetHashCode(); } if (RoomKey.Length != 0) { hash ^= RoomKey.GetHashCode(); } if (RoomName.Length != 0) { hash ^= RoomName.GetHashCode(); } if (Message.Length != 0) { hash ^= Message.GetHashCode(); } if (BeginPoint != 0D) { hash ^= BeginPoint.GetHashCode(); } if (EndPoint != 0D) { hash ^= EndPoint.GetHashCode(); } if (PenSize != 0) { hash ^= PenSize.GetHashCode(); } if (Color != 0) { hash ^= Color.GetHashCode(); } hash ^= users_.GetHashCode(); hash ^= rooms_.GetHashCode(); if (Code != 0) { hash ^= Code.GetHashCode(); } if (Error.Length != 0) { hash ^= Error.GetHashCode(); } if (Id != 0) { hash ^= Id.GetHashCode(); } return(hash); }