Exemplo n.º 1
0
 /// <summary>
 /// Initializes a new instance of the <see cref="SharesController"/> class.
 /// </summary>
 /// <param name="shareInfoProvider">Injected instance of <see cref="IShareInfoProvider"/>.</param>
 /// <param name="shareQuoteProvider">Injected instance of <see cref="IShareQuoteProvider"/>.</param>
 /// <param name="shareFundamentalsProvider">Injected instance of <see cref="IShareFundamentalsProvider"/>.</param>
 /// <param name="sharePriceHistoryProvider">Injected instance of <see cref="ISharePriceHistoryProvider"/>.</param>
 /// <param name="shareDividendHistoryProvider">Injected instance of <see cref="IShareDividendHistoryProvider"/>.</param>
 public SharesController(
     IShareInfoProvider shareInfoProvider,
     IShareQuoteProvider shareQuoteProvider,
     IShareFundamentalsProvider shareFundamentalsProvider,
     ISharePriceHistoryProvider sharePriceHistoryProvider,
     IShareDividendHistoryProvider shareDividendHistoryProvider)
 {
     _shareInfoProvider            = shareInfoProvider;
     _shareQuoteProvider           = shareQuoteProvider;
     _shareFundamentalsProvider    = shareFundamentalsProvider;
     _sharePriceHistoryProvider    = sharePriceHistoryProvider;
     _shareDividendHistoryProvider = shareDividendHistoryProvider;
 }
 /// <summary>
 /// Initializes a new instance of the <see cref="AnalyticsController"/> class.
 /// </summary>
 /// <param name="settingService">Injected instance of <see cref="ISettingService"/>.</param>
 /// <param name="sharePriceHistoryProvider">Injected instance of <see cref="ISharePriceHistoryProvider"/>.</param>
 public AnalyticsController(ISettingService settingService, ISharePriceHistoryProvider sharePriceHistoryProvider)
 {
     _settingService            = settingService;
     _sharePriceHistoryProvider = sharePriceHistoryProvider;
 }