/// <summary> /// Initializes a new instance of the <see cref="ScrumHelper"/> class. /// </summary> /// <param name="logger">Instance to send logs to the Application Insights service.</param> /// <param name="scrumStorageProvider">Scrum storage provider to maintain data in Microsoft Azure table storage.</param> /// <param name="scrumStatusStorageProvider">Scrum status storage provider to maintain data in Microsoft Azure table storage.</param> /// <param name="scrumMasterStorageProvider">Scrum master storage provider to maintain data in Microsoft Azure table storage.</param> public ScrumHelper( ILogger <ScrumHelper> logger, IScrumStorageProvider scrumStorageProvider, IScrumStatusStorageProvider scrumStatusStorageProvider, IScrumMasterStorageProvider scrumMasterStorageProvider) { this.logger = logger; this.scrumStorageProvider = scrumStorageProvider; this.scrumStatusStorageProvider = scrumStatusStorageProvider; this.scrumMasterStorageProvider = scrumMasterStorageProvider; }
/// <summary> /// Initializes a new instance of the <see cref="StartScrumActivityHelper"/> class. /// </summary> /// <param name="scrumStorageProvider">Instance for scrumStorageProvider.</param> /// <param name="scrumMasterStorageProvider">Scrum master storage provider to maintain data in Microsoft Azure table storage.</param> /// <param name="cardHelper">Instance of card helper to send class details.</param> /// <param name="scrumHelper">Instance of class that handles scrum helper methods.</param> /// <param name="microsoftAppCredentials">Instance for Microsoft application credentials.</param> /// <param name="adapter">An instance of bot adapter.</param> /// <param name="options">A set of key/value application configuration properties for activity handler.</param> /// <param name="logger">An instance of logger to log exception in application insights.</param> /// <param name="localizer">The current cultures' string localizer.</param> public StartScrumActivityHelper( IScrumStorageProvider scrumStorageProvider, IScrumMasterStorageProvider scrumMasterStorageProvider, CardHelper cardHelper, ScrumHelper scrumHelper, MicrosoftAppCredentials microsoftAppCredentials, IBotFrameworkHttpAdapter adapter, IOptions <ScrumStatusActivityHandlerOptions> options, ILogger <StartScrumActivityHelper> logger, IStringLocalizer <Strings> localizer) { this.scrumStorageProvider = scrumStorageProvider; this.scrumMasterStorageProvider = scrumMasterStorageProvider; this.cardHelper = cardHelper; this.scrumHelper = scrumHelper; this.microsoftAppCredentials = microsoftAppCredentials; this.adapter = adapter; this.options = options ?? throw new ArgumentNullException(nameof(options)); this.logger = logger; this.localizer = localizer; }
/// <summary> /// Initializes a new instance of the <see cref="StartScrumActivityHelper"/> class. /// </summary> /// <param name="scrumStorageProvider">Instance for scrumStorageProvider.</param> /// <param name="scrumConfigurationStorageProvider">Scrum configuration storage provider to maintain data in Microsoft Azure table storage.</param> /// <param name="cardHelper">Instance of card helper to send class details.</param> /// <param name="scrumHelper">Instance of class that handles scrum helper methods.</param> /// <param name="microsoftAppCredentials">Instance for Microsoft application credentials.</param> /// <param name="adapter">An instance of bot adapter.</param> /// <param name="options">A set of key/value application configuration properties for activity handler.</param> /// <param name="logger">An instance of logger to log exception in application insights.</param> /// <param name="localizer">The current cultures' string localizer.</param> public StartScrumActivityHelper( IScrumStorageProvider scrumStorageProvider, IScrumConfigurationStorageProvider scrumConfigurationStorageProvider, CardHelper cardHelper, ScrumHelper scrumHelper, MicrosoftAppCredentials microsoftAppCredentials, IBotFrameworkHttpAdapter adapter, IOptions <ScrumStatusActivityHandlerOptions> options, ILogger <StartScrumActivityHelper> logger, IStringLocalizer <Strings> localizer) { this.options = options; this.scrumStorageProvider = scrumStorageProvider; this.scrumConfigurationStorageProvider = scrumConfigurationStorageProvider; this.cardHelper = cardHelper; this.scrumHelper = scrumHelper; this.microsoftAppCredentials = microsoftAppCredentials; this.adapter = adapter; this.logger = logger; this.localizer = localizer; }