public DefaultApplicationCommandPublisher(
     IMessagePublisher messagePublisher,
     IOptions <ApplicationCommandOptions> options)
 {
     _messagePublisher = messagePublisher;
     _options          = options.Value;
 }
 public ApplicationCommandResultProcessor(
     ILogger <ApplicationCommandResultProcessor> logger,
     IOptions <ApplicationCommandOptions> executeOptions,
     ITimer timer)
 {
     _timer          = timer;
     _logger         = logger;
     _commandOptions = executeOptions.Value;
 }
Ejemplo n.º 3
0
 public DefaultApplicationCommandExecutor(
     IMessagePublisher messagePublisher,
     IOptions <ApplicationCommandOptions> options,
     IApplicationCommandResultListener commandResultListener)
 {
     _options               = options.Value;
     _messagePublisher      = messagePublisher;
     _commandResultListener = commandResultListener;
 }