public CommitDispatcher(ICommandBus commandBus, IEventBus eventBus, ILogger logger, ICheckpointStore checkpoints) { this.commandBus = commandBus; this.eventBus = eventBus; this.logger = logger; this.checkpoints = checkpoints; eventBusPublish = new GenericMethodCaller(eventBus, "Publish"); commandBusPublish = new GenericMethodCaller(commandBus, "Publish"); }
public CommitDispatcher(ICommandBus commandBus, IEventBus eventBus, ILogger logger, ICheckpointStore checkpoints) { this.commandBus = commandBus; this.eventBus = eventBus; this.logger = logger; this.checkpoints = checkpoints; eventBusPublish = new GenericMethodCaller(eventBus, "Publish"); commandBusPublish = new GenericMethodCaller(commandBus, "Publish"); }