Пример #1
0
 /// <summary>
 /// Creates the module using the <see cref="IConfiguration"/> and <see cref="ApiCalls"/> objects.
 /// </summary>
 /// <param name="configuration">Provides access to application settings.</param>
 /// <param name="api">Provides access to the different APIs.</param>
 /// <param name="logger">The log4net logger.</param>
 public HistoricalRatesModule(IConfiguration configuration, ILog logger, ApiCalls api) : base(configuration, logger)
 {
     HistoricalRatesService = new HistoricalRatesService(configuration, api);
 }
Пример #2
0
 /// <summary>
 /// Creates the module using the <see cref="IConfiguration"/> and <see cref="ApiCalls"/> objects.
 /// </summary>
 /// <param name="configuration">Provides access to application settings.</param>
 /// <param name="api">Provides access to the different APIs.</param>
 /// <param name="logger">The log4net logger.</param>
 /// <param name="interactiveService">The interactive service.</param>
 public HistoricalRatesInteractiveModule(IConfiguration configuration, ILog logger, ApiCalls api, InteractiveService interactiveService) : base(configuration, logger, interactiveService)
 {
     HistoricalRatesService = new HistoricalRatesService(configuration, api);
 }