Example #1
0
 public AddMemberToTeamHandler(
     IIntegrationRepository integrationRepository,
     IMSGraphClient graphClient)
 {
     _integrationRepository = integrationRepository;
     _graphClient           = graphClient;
 }
 public CreateMeetingHandler(
     IIntegrationRepository integrationRepository,
     IMSGraphClient grahpClient)
 {
     _integrationRepository = integrationRepository;
     _grahpClient           = grahpClient;
 }
Example #3
0
 public CreateTeamHandler(
     IIntegrationRepository integrationRepository,
     IMSGraphClient graphClient)
 {
     _integrationRepository = integrationRepository;
     _graphClient           = graphClient;
 }
 public RemoveMemberFromTeamHandler(
     IIntegrationRepository integrationRepository,
     IMSGraphClient graphClient)
 {
     _integrationRepository = integrationRepository;
     _graphClient           = graphClient;
 }
Example #5
0
 /// <summary>
 /// Initializes a new instance of the <see cref="HistoryReportService"/> class.
 /// </summary>
 /// <param name="reportGenerator">The report generator service for report body preparing.</param>
 /// <param name="graphClient">The graph client.</param>
 /// <param name="configuration">The application configuration.</param>
 /// <param name="logger">The logger implementation.</param>
 public HistoryReportService(IReportGenerator reportGenerator, IMSGraphClient graphClient, IAppSettings configuration, ILogger <HistoryReportService> logger)
 {
     this.reportGenerator   = reportGenerator ?? throw new ArgumentNullException(nameof(reportGenerator));
     this.graphClient       = graphClient ?? throw new ArgumentNullException(nameof(graphClient));
     this.connectionName    = configuration.ConnectionName ?? throw new ArgumentNullException(nameof(configuration.ConnectionName));
     this.reportsFolderName = configuration.ReportsFolderName;
     this.logger            = logger ?? throw new ArgumentNullException(nameof(logger));
 }
 public CreateTeamsForSemesterHandler(
     ITimetableRepository timetableRepository,
     IIntegrationRepository teamsRepository,
     IMSGraphClient graphClient)
 {
     _timetableRepository   = timetableRepository;
     _integrationRepository = teamsRepository;
     _graphClient           = graphClient;
 }
 public CreateMeetingsForSemesterHandler(
     IIntegrationRepository repository,
     ITimetableRepository timetableRepository,
     IMSGraphClient grahpClient)
 {
     _integrationRepository = repository;
     _timetableRepository   = timetableRepository;
     _grahpClient           = grahpClient;
 }
Example #8
0
 public ServiceBindingBlocking(
     IAzureStorageProviderClient azureStorageProviderClient,
     IAzureStorageClient azureStorageClient,
     IMSGraphClient msGraphClient,
     IOptions <AzureAuthOptions> azureAuthOptions,
     ILogger <ServiceBindingBlocking> log)
 {
     _azureStorageProviderClient = azureStorageProviderClient;
     _azureStorageClient         = azureStorageClient;
     _msGraphClient    = msGraphClient;
     _azureAuthOptions = azureAuthOptions.Value;
     _log = log;
 }