示例#1
0
 /// <summary>
 /// Initializes a new instance of the <see cref="PriceMovements"/> class.
 /// </summary>
 /// <param name="portfolioDataCommand">The portfolio data command.</param>
 /// <param name="priceDataCommand">The price data command.</param>
 /// <param name="staticDataCommand">The static data command.</param>
 /// <param name="memoryCache">the memory cahce.</param>
 public PriceMovements(IPortfolioDataCommand portfolioDataCommand, IPriceDataCommand priceDataCommand, IStaticDataCommand staticDataCommand, IMemoryCache memoryCache)
 {
     this.portfolioDataCommand = portfolioDataCommand;
     this.priceDataCommand     = priceDataCommand;
     this.staticDataCommand    = staticDataCommand;
     this.cache = memoryCache;
 }
示例#2
0
 /// <summary>
 /// Initializes a new instance of the <see cref="Prices"/> class.
 /// </summary>
 /// <param name="priceDataCommand">The price data command.</param>
 public Prices(IPriceDataCommand priceDataCommand)
 {
     this.priceDataCommand = priceDataCommand;
 }