public ProjectLinksController(IProjectRepository projectRepository, IProjectLinkRepository projectLinkRepository, Orchestrator orchestrator, UserService userService) { this.projectRepository = projectRepository ?? throw new ArgumentNullException(nameof(projectRepository)); this.projectLinkRepository = projectLinkRepository ?? throw new ArgumentNullException(nameof(projectLinkRepository)); this.orchestrator = orchestrator ?? throw new ArgumentNullException(nameof(orchestrator)); this.userService = userService ?? throw new ArgumentNullException(nameof(userService)); }
public ProjectLinksController(UserService userService, Orchestrator orchestrator, IProjectRepository projectRepository, IProjectLinkRepository projectLinkRepository) : base(userService, orchestrator, projectRepository) { this.projectLinkRepository = projectLinkRepository ?? throw new ArgumentNullException(nameof(projectLinkRepository)); }
public OrchestratorProjectLinkCommandHandler(IProjectLinkRepository projectLinkRepository) { this.projectLinkRepository = projectLinkRepository ?? throw new ArgumentNullException(nameof(projectLinkRepository)); }
public CosmosDbProjectRepository(ICosmosDbOptions cosmosOptions, IUserRepository userRepository, IProjectLinkRepository projectLinkRepository) : base(cosmosOptions) { this.userRepository = userRepository ?? throw new ArgumentNullException(nameof(userRepository)); this.projectLinkRepository = projectLinkRepository ?? throw new ArgumentNullException(nameof(projectLinkRepository)); }