Exemple #1
0
        public DeviceService(
            ILogger <IDeviceService> logger,
            MediatR.IMediator mediator,
            IDeviceRepository deviceRepository,
            IApiDeviceServerRequestModelValidator deviceModelValidator,
            IDALDeviceMapper dalDeviceMapper,
            IDALDeviceActionMapper dalDeviceActionMapper)
            : base()
        {
            this.DeviceRepository      = deviceRepository;
            this.DeviceModelValidator  = deviceModelValidator;
            this.DalDeviceMapper       = dalDeviceMapper;
            this.DalDeviceActionMapper = dalDeviceActionMapper;
            this.logger = logger;

            this.mediator = mediator;
        }
Exemple #2
0
 public DeviceService(
     ILogger <IDeviceRepository> logger,
     IDeviceRepository deviceRepository,
     IApiDeviceRequestModelValidator deviceModelValidator,
     IBOLDeviceMapper boldeviceMapper,
     IDALDeviceMapper daldeviceMapper,
     IBOLDeviceActionMapper bolDeviceActionMapper,
     IDALDeviceActionMapper dalDeviceActionMapper)
     : base(logger,
            deviceRepository,
            deviceModelValidator,
            boldeviceMapper,
            daldeviceMapper,
            bolDeviceActionMapper,
            dalDeviceActionMapper)
 {
 }
Exemple #3
0
 public AbstractDeviceService(
     ILogger logger,
     IDeviceRepository deviceRepository,
     IApiDeviceRequestModelValidator deviceModelValidator,
     IBOLDeviceMapper bolDeviceMapper,
     IDALDeviceMapper dalDeviceMapper,
     IBOLDeviceActionMapper bolDeviceActionMapper,
     IDALDeviceActionMapper dalDeviceActionMapper)
     : base()
 {
     this.deviceRepository      = deviceRepository;
     this.deviceModelValidator  = deviceModelValidator;
     this.bolDeviceMapper       = bolDeviceMapper;
     this.dalDeviceMapper       = dalDeviceMapper;
     this.bolDeviceActionMapper = bolDeviceActionMapper;
     this.dalDeviceActionMapper = dalDeviceActionMapper;
     this.logger = logger;
 }