public DeviceLogicWithIoTHubDM(IIotHubRepository iotHubRepository, IDeviceRegistryCrudRepository deviceRegistryCrudRepository,
                                IDeviceRegistryListRepository deviceRegistryListRepository, IVirtualDeviceStorage virtualDeviceStorage,
                                ISecurityKeyGenerator securityKeyGenerator, IConfigurationProvider configProvider, IDeviceRulesLogic deviceRulesLogic,
                                INameCacheLogic nameCacheLogic, IDeviceListFilterRepository deviceListFilterRepository) :
     base(iotHubRepository, deviceRegistryCrudRepository, deviceRegistryListRepository, virtualDeviceStorage, securityKeyGenerator, configProvider, deviceRulesLogic, nameCacheLogic, deviceListFilterRepository)
 {
     _configProvider = configProvider;
 }
Beispiel #2
0
 public JobController(
     IJobRepository jobRepository,
     IDeviceListFilterRepository filterRepository,
     IIoTHubDeviceManager iotHubDeviceManager,
     INameCacheLogic nameCacheLogic)
 {
     _jobRepository       = jobRepository;
     _filterRepository    = filterRepository;
     _iotHubDeviceManager = iotHubDeviceManager;
     _nameCacheLogic      = nameCacheLogic;
 }
 public DeviceLogic(IIotHubRepository iotHubRepository, IDeviceRegistryCrudRepository deviceRegistryCrudRepository,
                    IDeviceRegistryListRepository deviceRegistryListRepository, IVirtualDeviceStorage virtualDeviceStorage,
                    ISecurityKeyGenerator securityKeyGenerator, IConfigurationProvider configProvider, IDeviceRulesLogic deviceRulesLogic,
                    INameCacheLogic nameCacheLogic, IDeviceListFilterRepository deviceListFilterRepository)
 {
     _iotHubRepository             = iotHubRepository;
     _deviceRegistryCrudRepository = deviceRegistryCrudRepository;
     _deviceRegistryListRepository = deviceRegistryListRepository;
     _virtualDeviceStorage         = virtualDeviceStorage;
     _securityKeyGenerator         = securityKeyGenerator;
     _configProvider             = configProvider;
     _deviceRulesLogic           = deviceRulesLogic;
     _nameCacheLogic             = nameCacheLogic;
     _deviceListFilterRepository = deviceListFilterRepository;
 }
 public NameCacheLogicTests()
 {
     _nameCacheRepositoryMock = new Mock <INameCacheRepository>();
     _nameCacheLogic          = new NameCacheLogic(_nameCacheRepositoryMock.Object);
     fixture = new Fixture();
 }
 public NameCacheApiController(INameCacheLogic nameCacheLogic)
 {
     _nameCacheLogic = nameCacheLogic;
 }
 public DeviceTwinApiController(IIoTHubDeviceManager deviceManager, INameCacheLogic nameCacheLogic)
 {
     this._deviceManager  = deviceManager;
     this._nameCacheLogic = nameCacheLogic;
 }