Esempio n. 1
0
 public ThingCreatedEventHandler(
     IThingRepository thingRepository,
     IThingMappingService thingMappingService,
     IUnitOfWork unitOfWork,
     ILogger <ThingCreatedEventHandler> logger)
 {
     _thingRepository     = thingRepository;
     _thingMappingService = thingMappingService;
     _unitOfWork          = unitOfWork;
     _logger = logger;
 }
Esempio n. 2
0
 public ThingQueryService(
     IThingRepository thingRepository,
     IThingMappingService thingMappingService,
     IHttpContextUserService httpContextUserService,
     ILogger <ThingQueryService> logger)
 {
     _thingRepository        = thingRepository;
     _thingMappingService    = thingMappingService;
     _httpContextUserService = httpContextUserService;
     _logger = logger;
 }
Esempio n. 3
0
 public ThingDeletedEventHandler(
     IThingRepository thingRepository,
     IThingMappingService thingMappingService,
     IUnitOfWork unitOfWork,
     IServiceScopeFactory serviceScopeFactory,
     ILogger <ThingDeletedEventHandler> logger)
 {
     _thingRepository     = thingRepository;
     _thingMappingService = thingMappingService;
     _unitOfWork          = unitOfWork;
     _serviceScopeFactory = serviceScopeFactory;
     _logger = logger;
 }
Esempio n. 4
0
 public ThingCommandService(
     IThingRepository thingRepository,
     IThingMappingService thingMappingService,
     IUserRepository userRepository,
     IHttpContextUserService httpContextUserService,
     IEventBusPublisher eventBusPublisher,
     IUnitOfWork unitOfWork,
     ILogger <ThingQueryService> logger)
 {
     _thingRepository        = thingRepository;
     _thingMappingService    = thingMappingService;
     _userRepository         = userRepository;
     _httpContextUserService = httpContextUserService;
     _eventBusPublisher      = eventBusPublisher;
     _unitOfWork             = unitOfWork;
     _logger = logger;
 }