MemExchange.Server.Processor.Book.Orders.StopLimitOrder.ToDto C# (CSharp) Method

ToDto() public method

public ToDto ( ) : StopLimitOrderDto
return MemExchange.Core.SharedDto.Orders.StopLimitOrderDto
        public StopLimitOrderDto ToDto()
        {
            return new StopLimitOrderDto
            {
                ClientId = clientId,
                Quantity = quantity,
                ExchangeOrderId = exchangeOrderId,
                LimitPrice = limitPrice,
                TriggerPrice = triggerPrice,
                Symbol = symbol,
                Way = way
            };
        }