public GetDeploymentHandler( IExecutionPolicies executionPolicies, ISquidDbContext squidDbContext, IMapper mapper, ILogger <GetDeploymentHandler> logger) { this.mapper = Guard.IsNotNull(mapper, nameof(mapper)); this.squidDbContext = Guard.IsNotNull(squidDbContext, nameof(squidDbContext)); this.executionPolicies = Guard.IsNotNull(executionPolicies, nameof(executionPolicies)); this.logger = Guard.IsNotNull(logger, nameof(logger)); }
public CreateProjectHandler( ILogger <CreateProjectHandler> logger, IMapper mapper, IProjectFactory projectFactory, ISquidDbContext squidDbContext) { this.mapper = Guard.IsNotNull(mapper, nameof(mapper)); this.squidDbContext = Guard.IsNotNull(squidDbContext, nameof(squidDbContext)); this.logger = Guard.IsNotNull(logger, nameof(logger)); this.projectFactory = Guard.IsNotNull(projectFactory, nameof(projectFactory)); }