public UserController(ICommandsBus commandsBus, ISqlConnectionFactory sqlConnectionFactory,
                       IUserService userService, IRoleService roleService)
 {
     _commandsBus          = commandsBus;
     _sqlConnectionFactory = sqlConnectionFactory;
     _userService          = userService;
     _roleService          = roleService;
 }
Beispiel #2
0
 public AttachRuleToTransactionsEventHandler(
     ILogger <AttachRuleToTransactionsEventHandler> logger,
     IMapper mapper,
     BankTransactionRuleFinder bankTransactionRuleFinder,
     ICommandsBus bus)
 {
     this.logger = logger;
     this.mapper = mapper;
     this.bankTransactionRuleFinder = bankTransactionRuleFinder;
     this.bus = bus;
 }
Beispiel #3
0
 public DatabaseRulesEventHandler(ILogger <DatabaseRulesEventHandler> logger,
                                  RuleAccess ruleAccess,
                                  RuleParser ruleParser,
                                  RuleMatchChecker ruleMatchChecker,
                                  ICommandsBus bus)
 {
     this.logger           = logger;
     this.ruleAccess       = ruleAccess;
     this.ruleParser       = ruleParser;
     this.ruleMatchChecker = ruleMatchChecker;
     this.bus = bus;
 }
Beispiel #4
0
 public TransactionController(ICommandsBus bus,
                              TransactionReader transactionReader,
                              ColumnFinder columnFinder,
                              BankTransactionRuleFinder bankTransactionRuleFinder,
                              IMapper mapper,
                              Export export)
 {
     this.bus = bus;
     this.transactionReader         = transactionReader;
     this.columnFinder              = columnFinder;
     this.bankTransactionRuleFinder = bankTransactionRuleFinder;
     this.mapper = mapper;
     this.export = export;
 }
Beispiel #5
0
 public SignalRCommandsBus(ICommandsBus commandsBus, IEventsBus eventsBus)
 {
     this.commandsBus = commandsBus;
     this.eventsBus   = eventsBus;
 }
Beispiel #6
0
 public ExerciseController(ICommandsBus commandsBus, ISqlConnectionFactory sqlConnectionFactory)
 {
     _commandsBus          = commandsBus;
     _sqlConnectionFactory = sqlConnectionFactory;
 }
Beispiel #7
0
 public DeleteRuleCommandHandler(IContextFactory contextFactory,
                                 ICommandsBus commandsBus)
 {
     this.contextFactory = contextFactory;
     this.commandsBus    = commandsBus;
 }
Beispiel #8
0
 public BankAccountController(ICommandsBus commandBus, IQueryBus queryBus)
 {
     _commandBus = commandBus;
     _queryBus   = queryBus;
 }
Beispiel #9
0
 public UsersConnectionController(ICommandsBus bus,
                                  UsersConnectionsReader usersConnectionsReader)
 {
     this.bus = bus;
     this.usersConnectionsReader = usersConnectionsReader;
 }
Beispiel #10
0
 public WorkoutController(ICommandsBus commandsBus, ISqlConnectionFactory sqlConnectionFactory)
 {
     _commandsBus          = commandsBus;
     _sqlConnectionFactory = sqlConnectionFactory;
 }
Beispiel #11
0
 public AuthController(IQueryBus queryBus, ICommandsBus commandBus)
 {
     _queryBus   = queryBus;
     _commandBus = commandBus;
 }
Beispiel #12
0
 public LoggerCommandsBus(ICommandsBus commandsBus,
                          ILogger <LoggerCommandsBus> logger)
 {
     this.commandsBus = commandsBus;
     this.logger      = logger;
 }
Beispiel #13
0
 public ProductsController(ICommandsBus commandsBus,
                           IViewFactory viewFactory)
 {
     _commandsBus = commandsBus;
     _viewFactory = viewFactory;
 }
Beispiel #14
0
 public Mediator(ICommandsBus commandBus, IQueryBus queryBus, IEventsBus eventsBus)
 {
     _commandBus = commandBus;
     _queryBus   = queryBus;
     _eventsBus  = eventsBus;
 }