public void MergeFrom(pb::CodedInputStream input) { uint tag; while ((tag = input.ReadTag()) != 0) { switch (tag) { default: _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input); break; case 10: { if (trade_ == null) { Trade = new global::Trading.TradeStore(); } input.ReadMessage(Trade); break; } case 18: { pendingNotification_.AddEntriesFrom(input, _repeated_pendingNotification_codec); break; } case 24: { Cancelled = input.ReadBool(); break; } } } }
public void MergeFrom(CompletedTradeStore other) { if (other == null) { return; } if (other.trade_ != null) { if (trade_ == null) { trade_ = new global::Trading.TradeStore(); } Trade.MergeFrom(other.Trade); } pendingNotification_.Add(other.pendingNotification_); if (other.Cancelled != false) { Cancelled = other.Cancelled; } }
public void MergeFrom(CompletedTradeStore other) { if (other == null) { return; } if (other.trade_ != null) { if (trade_ == null) { Trade = new global::Trading.TradeStore(); } Trade.MergeFrom(other.Trade); } pendingNotification_.Add(other.pendingNotification_); if (other.Cancelled != false) { Cancelled = other.Cancelled; } _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields); }