/// <summary> /// Initializes a new instance of the <see cref="EventWorkflowHelper"/> class. /// </summary> /// <param name="eventRepository">Provides the methods for event related operations on storage.</param> /// <param name="eventSearchService">The event search service for event table.</param> /// <param name="eventGraphHelper">Graph API helper for events.</param> /// <param name="groupGraphHelper">Graph API helper for groups.</param> /// <param name="userConfigurationRepository">Provides the methods for user configuration operations on storage.</param> /// <param name="teamConfigurationRepository">Provides the methods for LnD team configuration operations on storage.</param> /// <param name="categoryHelper">Category helper for fetching based on Ids, binding category names to events.</param> /// <param name="localizer">The current culture's string localizer.</param> /// <param name="userGraphHelper">Graph API helper for users API.</param> /// <param name="notificationHelper">The notification helper for notification activities.</param> /// <param name="botOptions">A set of key/value application configuration properties for activity settings.</param> public EventWorkflowHelper( IEventRepository eventRepository, IEventSearchService eventSearchService, IEventGraphHelper eventGraphHelper, IGroupGraphHelper groupGraphHelper, IUserConfigurationRepository userConfigurationRepository, ILnDTeamConfigurationRepository teamConfigurationRepository, ICategoryHelper categoryHelper, IStringLocalizer <Strings> localizer, IUserGraphHelper userGraphHelper, INotificationHelper notificationHelper, IOptions <BotSettings> botOptions) { this.eventRepository = eventRepository; this.eventSearchService = eventSearchService; this.eventGraphHelper = eventGraphHelper; this.groupGraphHelper = groupGraphHelper; this.userConfigurationRepository = userConfigurationRepository; this.teamConfigurationRepository = teamConfigurationRepository; this.categoryHelper = categoryHelper; this.localizer = localizer; this.userGraphHelper = userGraphHelper; this.notificationHelper = notificationHelper; this.botOptions = botOptions; }
/// <summary> /// Initializes a new instance of the <see cref="GroupController"/> class. /// </summary> /// <param name="logger">The ILogger object which logs errors and information.</param> /// <param name="telemetryClient">The Application Insights telemetry client.</param> /// <param name="groupGraphHelper">Graph API helper for fetching group related data.</param> public GroupController( ILogger <GroupController> logger, TelemetryClient telemetryClient, IGroupGraphHelper groupGraphHelper) : base(telemetryClient) { this.logger = logger; this.groupGraphHelper = groupGraphHelper; }
/// <summary> /// Initializes a new instance of the <see cref="UsersController"/> class. /// </summary> /// <param name="logger">The ILogger object which logs errors and information</param> /// <param name="telemetryClient">The Application Insights telemetry client</param> /// <param name="userGraphHelper">Graph helper for users API.</param> /// <param name="groupGraphHelper">Graph API helper for fetching group related data.</param> public UsersController( ILogger <UsersController> logger, TelemetryClient telemetryClient, IUserGraphHelper userGraphHelper, IGroupGraphHelper groupGraphHelper) : base(telemetryClient) { this.logger = logger; this.userGraphHelper = userGraphHelper; this.groupGraphHelper = groupGraphHelper; }