Ejemplo n.º 1
0
 public TagsController(
     INotificationHandler <DomainNotification> notifications,
     IMediatorHandler mediator, ISchoolingEventDayTagService schoolingEventDayTagService) : base(notifications, mediator)
 {
     _schoolingEventDayTagService = schoolingEventDayTagService;
 }
Ejemplo n.º 2
0
 public EstoqueService(IProdutoRepository produtoRepository, IMediatorHandler mediatorHandler)
 {
     _produtoRepository = produtoRepository;
     _mediatorHandler   = mediatorHandler;
 }
Ejemplo n.º 3
0
 public PlayerQuestDomainService(IRepository <PlayerQuestEntity> questRepository, IMemoryCache cache, IMediatorHandler bus, ILogger <QuestDomainService> logger) : base(questRepository, cache, bus)
 {
     _questRepository = questRepository;
     _cache           = cache;
     _bus             = bus;
     _logger          = logger;
 }
Ejemplo n.º 4
0
 public ActivityService(IMapper mapper, IMediatorHandler bus)
 {
     _mapper = mapper;
     _bus    = bus;
 }
Ejemplo n.º 5
0
 public DesenvolvedorCommandHandler(IDesenvolvedorRepository desenvolvedorRepository, IMediatorHandler mediatorHandler, ICommandResult comandResult)
 {
     _desenvolvedorRepository = desenvolvedorRepository;
     _mediatorHandler         = mediatorHandler;
     _comandResult            = comandResult;
 }
Ejemplo n.º 6
0
 public CommonHandler(IMediatorHandler bus)
 {
     _bus = bus;
 }
Ejemplo n.º 7
0
 public ExpedidorAppService(IMapper mapper, IExpedidorRepository expedidorRepository, IMediatorHandler bus, IEventStoreRepository eventStoreRepository)
 {
     _mapper = mapper;
     _expedidorRepository = expedidorRepository;
     Bus = bus;
     _eventStoreRepository = eventStoreRepository;
 }
 public ColaboradorCommandHandler(IColaboradorRepository colaboradorRepository,
                                  IUnitOfWork uow,
                                  IMediatorHandler bus,
                                  INotificationHandler <DomainNotification> notifications)
     : base(uow, bus, notifications)
     => _colaboradorRepository = colaboradorRepository;
Ejemplo n.º 9
0
 public OrderService(IOrderRepository OrderRepository, IMapper mapper, IMediatorHandler bus)
 {
     _OrderRepository = OrderRepository;
     _mapper          = mapper;
     _bus             = bus;
 }
Ejemplo n.º 10
0
 public DesignTimePagamentoContextFactory(IMediatorHandler mediatorHandler)
 {
     _mediatorHandler = mediatorHandler;
 }
Ejemplo n.º 11
0
 public ShopController(IShopQueries shopQueries, IMediatorHandler bus)
 {
     _shopQueries = shopQueries;
     _bus         = bus;
 }
Ejemplo n.º 12
0
 public PagamentoContext(DbContextOptions <PagamentoContext> options, IMediatorHandler rebusHandler)
     : base(options)
 {
     _mediatorHandler = rebusHandler ?? throw new ArgumentNullException(nameof(rebusHandler));
 }
Ejemplo n.º 13
0
 /// <summary>
 /// 构造函数注入
 /// </summary>
 /// <param name="uow"></param>
 /// <param name="bus"></param>
 /// <param name="cache"></param>
 public CommandHandler(IUnitOfWork uow, IMediatorHandler bus, IMemoryCache cache)
 {
     _uow   = uow;
     _bus   = bus;
     _cache = cache;
 }
 public WorkerApplicationService(IPostCommandHandler postCommandHandler, IMediatorHandler bus)
 {
     this.postCommandHandler = postCommandHandler;
     this.bus = bus;
 }
Ejemplo n.º 15
0
 public PedidoContext(DbContextOptions <PedidoContext> options, IMediatorHandler mediatorHandler) : base(options)
 {
     _mediatorHandler = mediatorHandler;
 }
Ejemplo n.º 16
0
 public OperacoesController(INotificationHandler <DomainNotification> notifications, IMediatorHandler mediator, IMapper mapper) : base(notifications, mediator)
 {
     _mapper        = mapper;
     _mediator      = mediator;
     _notifications = (DomainNotificationHandler)notifications;
 }
Ejemplo n.º 17
0
 protected ApiController(INotificationHandler <DomainNotification> notifications,
                         IMediatorHandler mediator)
 {
     _notifications = (DomainNotificationHandler)notifications ?? throw new ArgumentNullException(nameof(DomainNotificationHandler));
     _mediator      = mediator ?? throw new ArgumentNullException(nameof(IMediatorHandler));
 }
Ejemplo n.º 18
0
 public CommandHandler(IUnitOfWork unitOfWork, NotificationContext notificationContext, IMediatorHandler mediator)
 {
     this.unitOfWork          = unitOfWork;
     this.notificationContext = notificationContext;
     this.mediator            = mediator;
 }
Ejemplo n.º 19
0
 public CarrinhoController(INotificationHandler <DomainNotification> notifications, IProdutoAppService produtoAppService, IPedidoQueries pedidoQueries, IMediatorHandler mediatorHandler)
     : base(notifications, mediatorHandler)
 {
     _produtoAppService = produtoAppService;
     _pedidoQueries     = pedidoQueries;
     _mediatorHandler   = mediatorHandler;
 }
Ejemplo n.º 20
0
 protected ApiController(INotificationHandler <DomainNotification> notifications,
                         IMediatorHandler mediator)
 {
     _notifications = (DomainNotificationHandler)notifications;
     _mediator      = mediator;
 }
Ejemplo n.º 21
0
 public CommandHandler(IUnitOfWork unitOfWork, IMediatorHandler bus, IMemoryCache cache)
 {
     _unitOfWork = unitOfWork;
     _bus        = bus;
     _cache      = cache;
 }
Ejemplo n.º 22
0
 public EntryLogAppService(IMapper mapper,
                           IMediatorHandler mediatorHandler)
 {
     this.mapper          = mapper;
     this.mediatorHandler = mediatorHandler;
 }
Ejemplo n.º 23
0
 public FornecedorController(INotificationHandler <DomainNotification> notifications, IMediatorHandler mediator, IFornecedorAppService fornecedorAppService) : base(notifications, mediator)
 {
     _fornecedorAppService = fornecedorAppService;
 }
Ejemplo n.º 24
0
 public DoctorCommandHandler(IDoctorRepository doctorRepository, IUnitOfWork uow, IMediatorHandler bus, INotificationHandler <DomainNotification> notifications) : base(uow, bus, notifications)
 {
     _doctorRepository = doctorRepository;
     Bus = bus;
 }
Ejemplo n.º 25
0
 public SkillDomainService(IRepository <SkillEntity> skillRepository, IMemoryCache cache, IMediatorHandler bus) : base(skillRepository, cache, bus)
 {
     _skillRepository = skillRepository;
     _cache           = cache;
     _bus             = bus;
 }
Ejemplo n.º 26
0
 public MunicipioController(INotificationHandler <DomainNotification> notifications,
                            IMediatorHandler mediator,
                            IMunicipioAppService municipioAppService) : base(notifications, mediator)
 {
     _municipioAppService = municipioAppService;
 }
Ejemplo n.º 27
0
 public QueryHandler(IMediatorHandler mediatorHandler)
 {
     this.mediatorHandler = mediatorHandler;
 }
 public ContatoTelefoneCommandHandler(IContatoTelefoneRepositorio contatoTelefoneRepositorio, IUnityOfWork uow, IMediatorHandler bus, INotificationHandler <DomainNotification> notificacao) : base(uow, bus, notificacao)
 {
     this.contatoTelefoneRepositorio = contatoTelefoneRepositorio;
 }
Ejemplo n.º 29
0
 public CommandHandler(IUnitOfWork unitOfWork, IMediatorHandler bus, INotificationHandler <DomainNotification> notifications)
 {
     _unitOfWork    = unitOfWork;
     _bus           = bus;
     _notifications = (DomainNotificationHandler)notifications;
 }
 public ApiApplicationService(IOrderService orderService, IMediatorHandler mediatorHandler)
 {
     this.orderService = orderService;
     bus = mediatorHandler;
 }