예제 #1
0
 public CommandHandler(
     IContactBookUnitOfWork uow,
     IEventHandler eventHandler,
     INotificationHandler <DomainNotification> notifications)
 {
     _uow           = uow;
     _eventHandler  = eventHandler;
     _notifications = (DomainNotificationHandler)notifications;
 }
예제 #2
0
 public ContactBookAppService(
     IMapper mapper,
     IContactBookUnitOfWork uow,
     ICommandHandler bus)
 {
     _mapper = mapper;
     _bus    = bus;
     _uow    = uow;
 }
 public CategoryCommandHandler(
     IContactBookUnitOfWork uow,
     IEventHandler eventHandler,
     INotificationHandler <DomainNotification> notifications)
     : base(uow, eventHandler, notifications)
 {
     _eventHandler      = eventHandler;
     _contactUnitOfWork = uow;
 }
예제 #4
0
 public ContactAppService(
     IMapper mapper,
     IContactBookUnitOfWork uow,
     ICommandHandler bus,
     IEventStoreRepository eventStoreRepository)
 {
     _mapper = mapper;
     _bus    = bus;
     _uow    = uow;
     _eventStoreRepository = eventStoreRepository;
 }
 public ContactBookCommandHandler(
     IContactBookUnitOfWork contactUoW,
     IUserUnitOfWork userUnitOfWork,
     IEventHandler eventHandler,
     INotificationHandler <DomainNotification> notifications)
     : base(contactUoW, eventHandler, notifications)
 {
     _eventHandler      = eventHandler;
     _contactUnitOfWork = contactUoW;
     _userUnitOfWork    = userUnitOfWork;
 }
예제 #6
0
 public AccountAppService(
     IContactBookAppService contactBookAppService,
     IContactBookUnitOfWork uow,
     IHttpContextAccessor httpContextAccessor,
     SignInManager <User> signInManager,
     UserManager <User> userManager,
     IJwtService jwtService)
 {
     _contactBookAppService = contactBookAppService;
     _uow = uow;
     _httpContextAccessor = httpContextAccessor;
     _signInManager       = signInManager;
     _userManager         = userManager;
     _jwtService          = jwtService;
 }