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

            CopyTo(clone);
            return(clone);
        }
        /// <summary>
        /// Copy the message into the <paramref name="destination" />.
        /// </summary>
        /// <param name="destination">The object, to which copied information.</param>
        protected void CopyTo(OrderStatusMessage destination)
        {
            base.CopyTo(destination);

            destination.From        = From;
            destination.To          = To;
            destination.IsSubscribe = IsSubscribe;
        }
		/// <summary>
		/// Create a copy of <see cref="OrderStatusMessage"/>.
		/// </summary>
		/// <returns>Copy.</returns>
		public override Message Clone()
		{
			var clone = new OrderStatusMessage
			{
				OrderId = OrderId,
				OrderStringId = OrderStringId,
				TransactionId = TransactionId,
				OrderTransactionId = OrderTransactionId,
				Volume = Volume,
				OrderType = OrderType,
				PortfolioName = PortfolioName,
				SecurityId = SecurityId,
				Side = Side,
			};

			CopyTo(clone);

			return clone;
		}
        /// <summary>
        /// Create a copy of <see cref="OrderStatusMessage"/>.
        /// </summary>
        /// <returns>Copy.</returns>
        public override Message Clone()
        {
            var clone = new OrderStatusMessage
            {
                OrderId            = OrderId,
                OrderStringId      = OrderStringId,
                TransactionId      = TransactionId,
                OrderTransactionId = OrderTransactionId,
                Volume             = Volume,
                OrderType          = OrderType,
                PortfolioName      = PortfolioName,
                SecurityId         = SecurityId,
                Side = Side,
            };

            CopyTo(clone);

            return(clone);
        }