public SyncJobTopicsService( ILoggingRepository loggingRepository, ISyncJobRepository syncJobRepository, IServiceBusTopicsRepository serviceBusTopicsRepository, IGraphGroupRepository graphGroupRepository, IKeyVaultSecret <ISyncJobTopicService> gmmAppId ) { _loggingRepository = loggingRepository ?? throw new ArgumentNullException(nameof(loggingRepository)); _syncJobRepository = syncJobRepository ?? throw new ArgumentNullException(nameof(syncJobRepository)); _serviceBusTopicsRepository = serviceBusTopicsRepository ?? throw new ArgumentNullException(nameof(serviceBusTopicsRepository)); _graphGroupRepository = graphGroupRepository ?? throw new ArgumentNullException(nameof(graphGroupRepository)); _gmmAppId = gmmAppId.Secret; }
public SyncJobTopicsService( ILoggingRepository loggingRepository, ISyncJobRepository syncJobRepository, IServiceBusTopicsRepository serviceBusTopicsRepository, IGraphGroupRepository graphGroupRepository, IKeyVaultSecret <ISyncJobTopicService> gmmAppId, IMailRepository mailRepository, IEmailSenderRecipient emailSenderAndRecipients ) { _emailSenderAndRecipients = emailSenderAndRecipients; _loggingRepository = loggingRepository ?? throw new ArgumentNullException(nameof(loggingRepository)); _syncJobRepository = syncJobRepository ?? throw new ArgumentNullException(nameof(syncJobRepository)); _serviceBusTopicsRepository = serviceBusTopicsRepository ?? throw new ArgumentNullException(nameof(serviceBusTopicsRepository)); _graphGroupRepository = graphGroupRepository ?? throw new ArgumentNullException(nameof(graphGroupRepository)); _gmmAppId = gmmAppId.Secret; _mailRepository = mailRepository ?? throw new ArgumentNullException(nameof(mailRepository)); }