public DeviceManager(
     IDeviceManagementRepo deviceRepo,
     IDeviceConfigHelper deviceConfigHelper,
     IAdminLogger logger,
     IAppConfig appConfig,
     IDependencyManager depmanager,
     ISecurity security,
     IDeviceExceptionRepo deviceExceptionRepo,
     IDeviceArchiveRepo deviceArchiveRepo,
     IDeviceConnectionEventRepo deviceConnectionEventRepo,
     IMediaServicesManager mediaServicesManager,
     IDeviceRepositoryRepo deviceRepoRepo,
     IDeviceTypeRepo deviceTypeRepo,
     IProxyFactory proxyFactory) :
     base(logger, appConfig, depmanager, security)
 {
     _defaultRepo               = deviceRepo ?? throw new ArgumentNullException(nameof(deviceRepo));
     _deviceConfigHelper        = deviceConfigHelper ?? throw new ArgumentNullException(nameof(deviceConfigHelper));
     _proxyFactory              = proxyFactory ?? throw new ArgumentNullException(nameof(proxyFactory));
     _deviceExceptionRepo       = deviceExceptionRepo ?? throw new ArgumentNullException(nameof(deviceExceptionRepo));
     _deviceArchiveRepo         = deviceArchiveRepo ?? throw new ArgumentNullException(nameof(deviceArchiveRepo));
     _deviceConnectionEventRepo = deviceConnectionEventRepo ?? throw new ArgumentNullException(nameof(deviceConnectionEventRepo));
     _mediaServicesManager      = mediaServicesManager ?? throw new ArgumentNullException(nameof(mediaServicesManager));
     _deviceRepoRepo            = deviceRepoRepo ?? throw new ArgumentNullException(nameof(deviceRepoRepo));
     _deviceTypeRepo            = deviceTypeRepo ?? throw new ArgumentNullException(nameof(deviceTypeRepo));
 }
Beispiel #2
0
 public DeviceRepositoryManager(
     IDeviceManagementSettings deviceMgmtSettings,
     IDeviceRepositoryRepo deviceRepositoryRepo,
     IAdminLogger logger,
     ISecureStorage secureStorage,
     IAppConfig appConfig,
     IDependencyManager dependencyManager,
     ISecurity security) : base(logger, appConfig, dependencyManager, security)
 {
     _deviceRepositoryRepo = deviceRepositoryRepo;
     _deviceMgmtSettings   = deviceMgmtSettings;
     _secureStorage        = secureStorage;
 }