示例#1
0
 public DataFeedManager(
     DataFeedManagerConfiguration configuration,
     IDownloadClient client,
     IDataFeedMapper mapper,
     IDataFeedService service)
 {
     this.configuration = configuration ?? throw new ArgumentNullException(nameof(configuration));
     this.client        = client ?? throw new ArgumentNullException(nameof(client));
     this.mapper        = mapper ?? throw new ArgumentNullException(nameof(mapper));
     this.service       = service ?? throw new ArgumentNullException(nameof(service));
 }
 public ExchangeRateController(IDataFeedService dataFeedService)
 {
     this.dataFeedService = dataFeedService ?? throw new ArgumentNullException(nameof(dataFeedService));
 }