public CreateAccountCommandHandler(
     ILogger <CreateAccountCommandHandler> logger,
     IAccountService accountService,
     IBankingService bankingService,
     CommandDelegator commandDelegator)
 {
     _logger           = logger;
     _accountService   = accountService;
     _bankingService   = bankingService;
     _commandDelegator = commandDelegator;
 }
示例#2
0
 public App(IOptions <ApplicationSettings> config,
            ILogger <App> logger,
            EventDelegator eventDelegator,
            CommandDelegator commandDelegator,
            IServiceProvider serviceProvider,
            ApplicationContext applicationContext)
 {
     _logger             = logger;
     _eventDelegator     = eventDelegator;
     _commandDelegator   = commandDelegator;
     _serviceProvider    = serviceProvider;
     _applicationContext = applicationContext;
     _config             = config.Value;
 }
示例#3
0
 public MatchTurnSaga(CommandDelegator commandDelegator)
 {
     _commandDelegator     = commandDelegator;
     _playersReadForBattle = new List <string>();
 }
 public ShowRecordWithdrawScreenEventHandler(CommandDelegator commandDelegator, ApplicationContext applicationContext)
 {
     _commandDelegator       = commandDelegator;
     this.applicationContext = applicationContext;
 }
示例#5
0
 public RegisterProductUseCase(CommandDelegator commandDispatcher)
 {
     _commandDelegator = commandDispatcher;
 }
 public DeactivateProductUseCase(CommandDelegator commandDispatcher)
 {
     _commandDelegator = commandDispatcher;
 }
 /// <summary>
 /// Constructor.
 /// </summary>
 /// <param name="commandDelegator">Command delegator.</param>
 /// <param name="queryDispatcher">Query dispatcher.</param>;
 public ProductsController(CommandDelegator commandDelegator, IQueryAsyncDispatcher queryDispatcher)
 {
     _commandDelegator = commandDelegator;
     _queryDispatcher  = queryDispatcher;
 }
 public ShowCreateAccountScreenEventHandler(CommandDelegator commandDelegator)
 {
     _commandDelegator = commandDelegator;
 }
示例#9
0
 public GameSaga(CommandDelegator commandDelegator)
 {
     _commandDelegator = commandDelegator;
     _counts           = new Dictionary <string, PlayerPieceCount>();
 }
示例#10
0
 public ShowLoginScreenEventHandler(CommandDelegator commandDelegator)
 {
     _commandDelegator = commandDelegator;
 }