public CommandPublisher(IUnitOfWork unitOfWork, ICommandAuthorizer commandAuthorizer, IPublishRetry commandRetry) { this.unitOfWork = unitOfWork; this.commandAuthorizer = commandAuthorizer; this.commandRetry = commandRetry; handlers = new HashSet<object>(); }
public CommandPublisher(IUnitOfWork unitOfWork, ICommandAuthorizer commandAuthorizer, IPublishRetry commandRetry) { this.unitOfWork = unitOfWork; this.commandAuthorizer = commandAuthorizer; this.commandRetry = commandRetry; handlers = new HashSet <object>(); }