コード例 #1
0
 public StatisticsService(ILogger <StatisticsService> logger, IDeviceService deviceService, IDataOverTimeStorage dataStorage, StatisticsServiceConfiguration configuration)
 {
     _logger        = logger;
     _dataStorage   = dataStorage;
     _deviceService = deviceService;
     _configuration = configuration;
 }
コード例 #2
0
 public StatisticsService(ILogger <StatisticsService> logger, IDeviceService deviceService, StatisticsServiceConfiguration configuration)
     : this(logger, deviceService, new LiteDbDataStorage(configuration.StoragePath), configuration)
 {
 }