Пример #1
0
 public DeviceService(
     IUnitOfWorkManager unitOfWorkManager,
     ILogger <DeviceService> logger,
     IMapper mapper,
     IIdentityParser <ApplicationUser> identityParser,
     IHttpContextAccessor httpContextAccessor,
     IServiceBusSender serviceBusSender,
     IErrorInformatorService errorInformatorService)
 {
     this._logger                 = logger;
     this._unitOfWorkManager      = unitOfWorkManager;
     this._mapper                 = mapper;
     this._identityParser         = identityParser;
     this._httpContextAccessor    = httpContextAccessor;
     this._serviceBusSender       = serviceBusSender;
     this._errorInformatorService = errorInformatorService;
 }
 public DeviceConnectedMessageHandler(IDeviceService deviceService, IErrorInformatorService errorInformatorService)
 {
     _logger                      = LogManager.GetLogger <DeviceConnectedMessageHandler>();
     this._deviceService          = deviceService;
     this._errorInformatorService = errorInformatorService;
 }
Пример #3
0
 public BaseApiController(IErrorInformatorService errorInformatorService)
 {
     this._errorInformatorService = errorInformatorService;
 }
Пример #4
0
 public ExceptionFilterAttribute(ILogger <ExceptionFilterAttribute> logger, IErrorInformatorService errorInformatorService)
 {
     this._logger = logger;
     this._errorInformatorService = errorInformatorService;
 }
Пример #5
0
 public DevicesController(IDeviceService deviceService, IErrorInformatorService errorInformatorService) : base(errorInformatorService)
 {
     this._deviceService = deviceService;
 }