public FolioPatternController(IFolioPatternAppService folioPatternAppService,
                               IDomainNotificationHandler <DomainNotification> notifications)
     : base(notifications)
 {
     _folioPatternAppService = folioPatternAppService;
 }
Exemplo n.º 2
0
 public EmpresaController(IEmpresaApplicationService empresaApplicationService, IHttpContextAccessor httpContextAccessor, RCMUserManager rcmUserManager, RCMSignInManager rcmSignInManager, IDomainNotificationHandler domainNotificationHandler) : base(domainNotificationHandler)
 {
     _empresaApplicationService = empresaApplicationService;
     _httpContextAccessor       = httpContextAccessor;
     _rcmUserManager            = rcmUserManager;
     _rcmSignInManager          = rcmSignInManager;
 }
Exemplo n.º 3
0
 public ProductCommandHandler(IProductRepository productRepository, IUnitOfWork unitOfWork, IBus bus, IDomainNotificationHandler <DomainNotification> notification) : base(unitOfWork, bus, notification)
 {
     _productRepository = productRepository;
     _bus = bus;
 }
Exemplo n.º 4
0
 public EditarUmCargo(IDomainNotificationHandler notificacaoDeDominio,
                      ICargoRepositorio cargoRepositorio) : base(notificacaoDeDominio)
 {
     _cargoRepositorio = cargoRepositorio;
 }
Exemplo n.º 5
0
 public CustomerController(ICustomerAppService customerAppService, IDomainNotificationHandler <DomainNotification> notifications) : base(notifications)
 {
     _customerAppService = customerAppService;
 }
Exemplo n.º 6
0
 public UserApplicationService(LedgerUserManager userManager, LedgerSignInManager signInManager, LedgerRoleManager roleManager, IDomainNotificationHandler domainNotificationHandler, IDomainServiceBus domainServiceBus, IIntegrationServiceBus integrationBus)
     : base(domainNotificationHandler, domainServiceBus, integrationBus)
 {
     _userManager   = userManager;
     _signInManager = signInManager;
     _roleManager   = roleManager;
 }
Exemplo n.º 7
0
 public EventosController(IEventoAppService eventoAppService,
                          IDomainNotificationHandler <DomainNotification> notifications, IUser user) : base(notifications, user)
 {
     _eventoAppService = eventoAppService;
 }
Exemplo n.º 8
0
 protected BaseController(IDomainNotificationHandler notification, IMapper mapper)
 {
     _notification = notification;
     _mapper       = mapper;
 }
Exemplo n.º 9
0
 public WebServiceController(ITokenAppService tokenAppService, IDomainNotificationHandler <DomainNotification> notifications, IUser user) : base(notifications, user)
 {
     _tokenAppService = tokenAppService;
 }
Exemplo n.º 10
0
 public ProdutosController(IProdutoAppService produtoAppService,
                           IDomainNotificationHandler <DomainNotification> notifications,
                           IUser user) : base(notifications, user)
 {
     _produtoAppService = produtoAppService;
 }
Exemplo n.º 11
0
 public CommandHandler(IUnitOfWork uow, IDomainNotificationHandler <DomainNotification.Events.DomainNotification> notifications)
 {
     _uow           = uow;
     _notifications = notifications;
 }
Exemplo n.º 12
0
 public Service(IRepository <TEntity> repository, IDomainNotificationHandler dnh)
 {
     _repository = repository;
     _dnh        = dnh;
 }
Exemplo n.º 13
0
 protected CommandHandlerBaseAsync(IDomainNotificationHandler notifications, IUnityOfWork unityOfWork)
 {
     _notifications = notifications;
     _unityOfWork   = unityOfWork;
 }
Exemplo n.º 14
0
 public EventoCommandHandler(IEventoRepository eventoRepository, IUnitOfWork unitOfWork, IBus bus, IDomainNotificationHandler <DomainNotification> notification)
     : base(unitOfWork, bus, notification)
 {
     this._eventoRepository = eventoRepository;
 }
Exemplo n.º 15
0
 public PersonService(IValidation <RegisterNewPersonCommand> registerNewPersonValidation, IValidation <UpdatePersonCommand> updatePersonValidation,
                      IDomainNotificationHandler notifications, IUnityOfWork uow,
                      IRepositoryWithGuidKey <PersonDomain> repository)
     : base(repository, notifications, registerNewPersonValidation, updatePersonValidation, uow)
 {
 }
Exemplo n.º 16
0
 public PropostasCommandHandler(IPropostasRepository propostasRepository, IUnitOfWork uow, IBus bus, IDomainNotificationHandler <DomainNotification> notifications, IUser user) : base(uow, bus, notifications)
 {
     _propostasRepository = propostasRepository;
     _bus  = bus;
     _user = user;
 }
Exemplo n.º 17
0
 public PersonService(IValidation <RegisterNewPersonCommand> registerNewPersonValidation,
                      IDomainNotificationHandler notifications, IUnityOfWork uow)
     : base(notifications, uow)
 {
     _registerNewPersonValidation = registerNewPersonValidation;
 }
 public TesteController(IDomainNotificationHandler <DomainNotification> notifications, IBus bus, IUser user) : base(notifications, bus, user)
 {
 }
Exemplo n.º 19
0
 public CommandHandler(IUnitOfWork uow, IBus bus, IDomainNotificationHandler <DomainNotification> notifications)
 {
     _uow           = uow;
     _bus           = bus;
     _notifications = notifications;
 }
Exemplo n.º 20
0
 public BaseController(IDomainNotificationHandler <DomainNotification> domainNotification)
 {
     _domainNotification = domainNotification;
 }
Exemplo n.º 21
0
 public CommandBus(IServiceProvider Container, ICommandContext commandContext, IEventBus eventBus, IMessagePublisher messageProcessor, IDomainNotificationHandler <DomainNotification> notification)
 {
     this.Container        = Container;
     this.commandContext   = commandContext;
     this.eventBus         = eventBus;
     this.messageProcessor = messageProcessor;
     messageProcessor.Subscriber(h => Handle((dynamic)h));
     this.notification = notification;
 }
Exemplo n.º 22
0
 public SummaryViewComponent(IDomainNotificationHandler <DomainNotification> notifications)
 {
     _notifications = notifications;
 }
Exemplo n.º 23
0
 /// <summary>
 /// Initializes a new instance of the <see cref="BaseController" /> class.
 /// </summary>
 /// <param name="notifications">The notifications.</param>
 public BaseController(IDomainNotificationHandler <DomainNotification> notifications)
 {
     _notifications = notifications;
 }
Exemplo n.º 24
0
 public UserCommandHandler(IUserRepository userRepository, IUnitOfWork uow, IBus bus, IDomainNotificationHandler <DomainNotification> notifications)
     : base(uow, bus, notifications)
 {
     _bus            = bus;
     _userRepository = userRepository;
 }
Exemplo n.º 25
0
 public InMemoryBus(IDomainNotificationHandler dnh)
 {
     _dnh = dnh;
 }
Exemplo n.º 26
0
 public MovieCommandHandler(IMovieRepository movieRepository, IUnitOfWork uow, IMediatorHandler bus,
                            IDomainNotificationHandler <DomainNotification> notifications)
     : base(bus, uow, notifications)
 {
     _movieRepository = movieRepository;
 }
Exemplo n.º 27
0
 public ContaCorrenteCommandHandler(IContaCorrenteRepository _contaCorrenteRepository, IUnitOfWork uow, IBus _bus, IDomainNotificationHandler <DomainNotification> notifications) : base(uow, _bus, notifications)
 {
     contaCorrenteRepository = _contaCorrenteRepository;
     bus = _bus;
 }
 public AdicionaisController(IBus bus, IDomainNotificationHandler <DomainNotification> notifications, IAdicionalRepository adicionalRepository, IAdicionalService adicionalService) : base(bus, notifications)
 {
     _adicionalService = adicionalService;
 }
Exemplo n.º 29
0
 public AccountsController(IAccountService accountService, IJwtFactory jwtFactory, IDomainNotificationHandler domainNotificationHandler, IMediator mediator, ILogger <AccountsController> logger)
     : base(domainNotificationHandler, mediator, logger)
 {
     _accountService = accountService;
     _jwtFactory     = jwtFactory;
 }
 protected CommandHandler(IUnitOfWork uow, IBus bus, IDomainNotificationHandler <DomainNotification> notification)
 {
     _uow          = uow;
     _bus          = bus;
     _notification = notification;
 }