public void MergeFrom(S2C other) { if (other == null) { return; } if (other.security_ != null) { if (security_ == null) { Security = new global::QotCommon.Security(); } Security.MergeFrom(other.Security); } if (other.orderDetailAsk_ != null) { if (orderDetailAsk_ == null) { OrderDetailAsk = new global::QotCommon.OrderDetail(); } OrderDetailAsk.MergeFrom(other.OrderDetailAsk); } if (other.orderDetailBid_ != null) { if (orderDetailBid_ == null) { OrderDetailBid = new global::QotCommon.OrderDetail(); } OrderDetailBid.MergeFrom(other.OrderDetailBid); } _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields); }
public override int GetHashCode() { int hash = 1; if (security_ != null) { hash ^= Security.GetHashCode(); } if (orderDetailAsk_ != null) { hash ^= OrderDetailAsk.GetHashCode(); } if (orderDetailBid_ != null) { hash ^= OrderDetailBid.GetHashCode(); } if (_unknownFields != null) { hash ^= _unknownFields.GetHashCode(); } return(hash); }