/// <summary>
        /// Create a copy of <see cref="PortfolioChangeMessage"/>.
        /// </summary>
        /// <returns>Copy.</returns>
        public override Message Clone()
        {
            var clone = new PortfolioChangeMessage();

            CopyTo(clone);
            return(clone);
        }
Ejemplo n.º 2
0
        /// <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);
        }
Ejemplo n.º 3
0
		/// <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;
		}