public ComponentTaskExpander(IProjectRepository projectRepository, IAzureResourceService azureResourceService, IGraphService graphService, ICommandAuditReader commandAuditReader, IMemoryCache cache, TelemetryClient telemetryClient) : base(true, telemetryClient) { this.projectRepository = projectRepository ?? throw new ArgumentNullException(nameof(projectRepository)); this.azureResourceService = azureResourceService ?? throw new ArgumentNullException(nameof(azureResourceService)); this.graphService = graphService ?? throw new ArgumentNullException(nameof(graphService)); this.commandAuditReader = commandAuditReader ?? throw new ArgumentNullException(nameof(commandAuditReader)); this.cache = cache ?? throw new ArgumentNullException(nameof(cache)); }
public OrganizationAuditController(ICommandAuditReader commandAuditReader) { this.commandAuditReader = commandAuditReader ?? throw new ArgumentNullException(nameof(commandAuditReader)); }