public override int GetHashCode() { int hash = 1; if (HasAgentId) { hash ^= AgentId.GetHashCode(); } if (HasUserDescription) { hash ^= UserDescription.GetHashCode(); } if (HasProgram) { hash ^= Program.GetHashCode(); } if (HasUserOptions) { hash ^= UserOptions.GetHashCode(); } if (HasClubOptions) { hash ^= ClubOptions.GetHashCode(); } hash ^= (int)typeCase_; if (_unknownFields != null) { hash ^= _unknownFields.GetHashCode(); } return(hash); }
public override int GetHashCode() { int result = AgentId.GetHashCode(); result = 31 * result + (int)(AgentStartTime ^ (AgentStartTime >> 32)); result = 31 * result + (int)(TransactionSequence ^ (TransactionSequence >> 32)); return(result); }
public override int GetHashCode() { int hash = 1; if (agentId_ != null) { hash ^= AgentId.GetHashCode(); } hash ^= EntityId.GetHashCode(); if (ObjectId != 0UL) { hash ^= ObjectId.GetHashCode(); } return(hash); }
public override int GetHashCode() { int hash = 1; if (HasAgentId) { hash ^= AgentId.GetHashCode(); } if (HasReportType) { hash ^= ReportType.GetHashCode(); } if (_unknownFields != null) { hash ^= _unknownFields.GetHashCode(); } return(hash); }
public override int GetHashCode() { int hash = 1; if (agentId_ != null) { hash ^= AgentId.GetHashCode(); } hash ^= EntityId.GetHashCode(); if (ObjectId != 0UL) { hash ^= ObjectId.GetHashCode(); } hash ^= program_.GetHashCode(); if (FlagPublic != false) { hash ^= FlagPublic.GetHashCode(); } return(hash); }
public override int GetHashCode() { int hash = 1; if (Id.Length != 0) { hash ^= Id.GetHashCode(); } if (AccountId.Length != 0) { hash ^= AccountId.GetHashCode(); } if (AgentId.Length != 0) { hash ^= AgentId.GetHashCode(); } if (InstrumentId.Length != 0) { hash ^= InstrumentId.GetHashCode(); } if (Price != 0D) { hash ^= pbc::ProtobufEqualityComparers.BitwiseDoubleEqualityComparer.GetHashCode(Price); } if (Lots != 0) { hash ^= Lots.GetHashCode(); } if (TraderId.Length != 0) { hash ^= TraderId.GetHashCode(); } if (_unknownFields != null) { hash ^= _unknownFields.GetHashCode(); } return(hash); }