public CustomerCommandController( ICommandBroker commandBroker, IMapper mapper) { _commandBroker = commandBroker; _mapper = mapper; }
public CommandMessagePump(MessagingFactory messagingFactory, ICommandBroker commandBroker, Type messageType, ILogger logger) : base(logger) { _messagingFactory = messagingFactory; _commandBroker = commandBroker; _messageType = messageType; }
public ServerContext(ICommandRegistry registry = null, ICommandBroker broker = null, ICommandStateProvider stateProvider = null) { _registry = registry ?? Implementations.CommandRegistry; _broker = broker ?? Implementations.Broker; _stateProvider = stateProvider ?? Implementations.StateProvider; }
public static BusBuilderConfiguration WithCommandBroker(this BusBuilderConfiguration configuration, ICommandBroker commandBroker) { configuration.CommandBroker = commandBroker; return configuration; }
public GameHub(ICommandBroker commandBroker) { _commandBroker = commandBroker; }