예제 #1
0
        /// <summary>
        /// Создать копию объекта <see cref="OrderPairReplaceMessage"/>.
        /// </summary>
        /// <returns>Копия.</returns>
        public override Message Clone()
        {
            var clone = new OrderPairReplaceMessage
            {
                LocalTime = LocalTime,
                Message1  = Message1.CloneNullable(),
                Message2  = Message2.CloneNullable(),
            };

            CopyTo(clone);

            return(clone);
        }