/// <summary> /// Initializes a new instance of the <see cref="StartScrumBackgroundService"/> class. /// BackgroundService class that inherits IHostedService and implements the methods related to sending notification tasks. /// </summary> /// <param name="logger">Instance to send logs to the Application Insights service.</param> /// <param name="scrumMasterStorageProvider">Provider to provide scrum master storage details.</param> /// <param name="startScrumActivityHelper">An instance of scrum activity helper.</param> public StartScrumBackgroundService( ILogger <StartScrumBackgroundService> logger, IScrumMasterStorageProvider scrumMasterStorageProvider, IStartScrumActivityHelper startScrumActivityHelper) { this.logger = logger; this.scrumMasterStorageProvider = scrumMasterStorageProvider; this.startScrumActivityHelper = startScrumActivityHelper; }
/// <summary> /// Initializes a new instance of the <see cref="ScrumNotificationBackgroundService"/> class. /// </summary> /// <param name="scrumConfigurationStorageProvider">scrumConfigurationStorageProvider</param> /// <param name="startScrumActivityHelper">startScrumActivityHelper</param> /// <param name="logger">logger</param> public ScrumNotificationBackgroundService( IScrumConfigurationStorageProvider scrumConfigurationStorageProvider, IStartScrumActivityHelper startScrumActivityHelper, ILogger <ScrumNotificationBackgroundService> logger) { this.scrumConfigurationStorageProvider = scrumConfigurationStorageProvider; this.startScrumActivityHelper = startScrumActivityHelper; this.logger = logger; }