Пример #1
0
        /// <summary>
        /// Initializes a new instance of the <see cref="HistoryMessageAdapter"/>.
        /// </summary>
        /// <param name="transactionIdGenerator">Transaction id generator.</param>
        public HistoryMessageAdapter(IdGenerator transactionIdGenerator)
            : base(transactionIdGenerator)
        {
            BasketStorage = new CachedBasketMarketDataStorage <Message>
            {
                Boards = Enumerable.Empty <ExchangeBoard>()
            };

            StartDate = DateTimeOffset.MinValue;
            StopDate  = DateTimeOffset.MaxValue;
        }
Пример #2
0
		/// <summary>
		/// Initializes a new instance of the <see cref="HistoryMessageAdapter"/>.
		/// </summary>
		/// <param name="transactionIdGenerator">Transaction id generator.</param>
		public HistoryMessageAdapter(IdGenerator transactionIdGenerator)
			: base(transactionIdGenerator)
		{
			BasketStorage = new CachedBasketMarketDataStorage<Message>
			{
				Boards = Enumerable.Empty<ExchangeBoard>()
			};

			StartDate = DateTimeOffset.MinValue;
			StopDate = DateTimeOffset.MaxValue;
		}