public DeleteEnvironmentCommandHandler(IControlPlaneService controlPlaneService) { _controlPlaneService = controlPlaneService ?? throw new ArgumentNullException(nameof(controlPlaneService)); }
public ProvisioningBroker(IMediator mediator, IControlPlaneService controlPlaneService, IOptions <ProvisioningBrokerOptions> options = default) { _mediator = mediator ?? throw new ArgumentNullException(nameof(mediator)); _controlPlaneService = controlPlaneService ?? throw new ArgumentNullException(nameof(controlPlaneService)); _options = options?.Value; }
public CreateEnvironmentCommandHandler(IMediator mediator, IControlPlaneService controlPlaneService) : base(mediator) { _controlPlaneService = controlPlaneService ?? throw new ArgumentNullException(nameof(controlPlaneService)); }