/// <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; }
/// <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; }