/// <summary> /// Create a copy of <see cref="PortfolioChangeMessage"/>. /// </summary> /// <returns>Copy.</returns> public override Message Clone() { var clone = new PortfolioChangeMessage(); CopyTo(clone); return(clone); }
/// <summary> /// Create a copy of <see cref="PortfolioChangeMessage"/>. /// </summary> /// <returns>Copy.</returns> public override Message Clone() { var clone = new PortfolioChangeMessage { BoardCode = BoardCode, }; CopyTo(clone); return(clone); }
/// <summary> /// Create a copy of <see cref="PortfolioChangeMessage"/>. /// </summary> /// <returns>Copy.</returns> public override Message Clone() { var msg = new PortfolioChangeMessage { LocalTime = LocalTime, PortfolioName = PortfolioName, BoardCode = BoardCode, ServerTime = ServerTime }; msg.Changes.AddRange(Changes); this.CopyExtensionInfo(msg); return msg; }