public CommandTrigger(ICommandHandler[] commandHandlers, IHttpContextAccessor httpContextAccessor, ICommandAuditWriter commandAuditWriter, IDeploymentScopeRepository deploymentScopeRepository, IValidatorProvider validatorProvider) { this.commandHandlers = commandHandlers ?? throw new ArgumentNullException(nameof(commandHandlers)); this.httpContextAccessor = httpContextAccessor ?? throw new ArgumentNullException(nameof(httpContextAccessor)); this.commandAuditWriter = commandAuditWriter ?? throw new ArgumentNullException(nameof(commandAuditWriter)); this.deploymentScopeRepository = deploymentScopeRepository ?? throw new ArgumentNullException(nameof(deploymentScopeRepository)); this.validatorProvider = validatorProvider ?? throw new ArgumentNullException(nameof(validatorProvider)); }
public CommandTrigger(IHttpContextAccessor httpContextAccessor, ICommandAuditWriter commandAuditWriter) { this.httpContextAccessor = httpContextAccessor ?? throw new ArgumentNullException(nameof(httpContextAccessor)); this.commandAuditWriter = commandAuditWriter ?? throw new ArgumentNullException(nameof(commandAuditWriter)); }
public CommandAuditActivity(ICommandAuditWriter commandAuditWriter) { this.commandAuditWriter = commandAuditWriter ?? throw new ArgumentNullException(nameof(commandAuditWriter)); }
public MonitorTrigger(ICommandAuditWriter commandAuditWriter) { this.commandAuditWriter = commandAuditWriter ?? throw new ArgumentNullException(nameof(commandAuditWriter)); }