public WebSocketNotificationSender(IHubContext <ClientHub> hubContext, INotificationsRepo repo, IUnitOfWork unitOfWork) { _hubContext = hubContext; _repo = repo; _unitOfWork = unitOfWork; }
public FeedRepo(UlearnDb db, INotificationsRepo notificationsRepo, IVisitsRepo visitsRepo, ILogger logger) { this.db = db ?? throw new ArgumentNullException(nameof(db)); this.notificationsRepo = notificationsRepo ?? throw new ArgumentNullException(nameof(notificationsRepo)); this.visitsRepo = visitsRepo ?? throw new ArgumentNullException(nameof(visitsRepo)); this.logger = logger; }
public NotificationMessageHandler(INotificationsRepo repo, INotificationMessageGenerator messageGenerator, INotificationMessageDispatcher messageDispatcher, ICurrentUserAccessor currentUserAccessor) { _repo = repo; _messageGenerator = messageGenerator; _messageDispatcher = messageDispatcher; _currentUserAccessor = currentUserAccessor; }
public GroupsController(IWebCourseManager courseManager, UlearnDb db, IUsersRepo usersRepo, IGroupsRepo groupsRepo, IGroupAccessesRepo groupAccessesRepo, IGroupMembersRepo groupMembersRepo, INotificationsRepo notificationsRepo) : base(courseManager, db, usersRepo) { this.groupsRepo = groupsRepo; this.groupAccessesRepo = groupAccessesRepo; this.groupMembersRepo = groupMembersRepo; this.notificationsRepo = notificationsRepo; }
public ReviewCommentsController(IWebCourseManager courseManager, UlearnDb db, IUsersRepo usersRepo, ISlideCheckingsRepo slideCheckingsRepo, ICourseRolesRepo courseRolesRepo, IUnitsRepo unitsRepo, INotificationsRepo notificationsRepo) : base(courseManager, db, usersRepo) { this.slideCheckingsRepo = slideCheckingsRepo; this.courseRolesRepo = courseRolesRepo; this.unitsRepo = unitsRepo; this.notificationsRepo = notificationsRepo; this.notificationsRepo = notificationsRepo; }
public BaseCommentController(ILogger logger, IWebCourseManager courseManager, UlearnDb db, IUsersRepo usersRepo, ICommentsRepo commentsRepo, ICommentLikesRepo commentLikesRepo, ICoursesRepo coursesRepo, ICourseRolesRepo courseRolesRepo, INotificationsRepo notificationsRepo) : base(logger, courseManager, db, usersRepo) { this.commentsRepo = commentsRepo; this.commentLikesRepo = commentLikesRepo; this.coursesRepo = coursesRepo; this.courseRolesRepo = courseRolesRepo; this.notificationsRepo = notificationsRepo; }
public GroupController(ILogger logger, WebCourseManager courseManager, UlearnDb db, IGroupsRepo groupsRepo, IGroupAccessesRepo groupAccessesRepo, IGroupMembersRepo groupMembersRepo, IUsersRepo usersRepo, ICourseRolesRepo courseRolesRepo, INotificationsRepo notificationsRepo, IGroupsCreatorAndCopier groupsCreatorAndCopier) : base(logger, courseManager, db, usersRepo) { this.groupsRepo = groupsRepo; this.groupAccessesRepo = groupAccessesRepo; this.groupMembersRepo = groupMembersRepo; this.courseRolesRepo = courseRolesRepo; this.notificationsRepo = notificationsRepo; this.groupsCreatorAndCopier = groupsCreatorAndCopier; }
public BaseCommentController(IWebCourseManager courseManager, UlearnDb db, IUsersRepo usersRepo, ICommentsRepo commentsRepo, ICommentLikesRepo commentLikesRepo, ICoursesRepo coursesRepo, ICourseRolesRepo courseRolesRepo, INotificationsRepo notificationsRepo, IGroupMembersRepo groupMembersRepo, IGroupAccessesRepo groupAccessesRepo) : base(courseManager, db, usersRepo) { this.commentsRepo = commentsRepo; this.commentLikesRepo = commentLikesRepo; this.coursesRepo = coursesRepo; this.courseRolesRepo = courseRolesRepo; this.notificationsRepo = notificationsRepo; this.groupMembersRepo = groupMembersRepo; this.groupAccessesRepo = groupAccessesRepo; }
public GroupController(IWebCourseManager courseManager, UlearnDb db, IGroupsRepo groupsRepo, IGroupAccessesRepo groupAccessesRepo, IGroupMembersRepo groupMembersRepo, IUsersRepo usersRepo, ICourseRolesRepo courseRolesRepo, INotificationsRepo notificationsRepo, IGroupsCreatorAndCopier groupsCreatorAndCopier, IUnitsRepo unitsRepo, ISlideCheckingsRepo slideCheckingsRepo) : base(courseManager, db, usersRepo) { this.groupsRepo = groupsRepo; this.groupAccessesRepo = groupAccessesRepo; this.groupMembersRepo = groupMembersRepo; this.courseRolesRepo = courseRolesRepo; this.notificationsRepo = notificationsRepo; this.groupsCreatorAndCopier = groupsCreatorAndCopier; this.unitsRepo = unitsRepo; this.slideCheckingsRepo = slideCheckingsRepo; }
public NotificationsController(ILogger logger, WebCourseManager courseManager, UlearnDb db, IUsersRepo usersRepo, INotificationsRepo notificationsRepo, IFeedRepo feedRepo, IServiceProvider serviceProvider, INotificationDataPreloader notificationDataPreloader) : base(logger, courseManager, db, usersRepo) { this.notificationsRepo = notificationsRepo ?? throw new ArgumentNullException(nameof(notificationsRepo)); this.feedRepo = feedRepo ?? throw new ArgumentNullException(nameof(feedRepo)); this.serviceProvider = serviceProvider ?? throw new ArgumentNullException(nameof(serviceProvider)); this.notificationDataPreloader = notificationDataPreloader ?? throw new ArgumentNullException(nameof(notificationDataPreloader)); if (commentsFeedNotificationTransport == null) { commentsFeedNotificationTransport = feedRepo.GetCommentsFeedNotificationTransport(); } }
public OneTimeEmailSender(IEmailSender emailSender, IUsersRepo usersRepo, INotificationsRepo notificationsRepo) { this.emailSender = emailSender; this.usersRepo = usersRepo; this.notificationsRepo = notificationsRepo; }
public CommentPoliciesController(IWebCourseManager courseManager, UlearnDb db, IUsersRepo usersRepo, ICommentsRepo commentsRepo, ICommentLikesRepo commentLikesRepo, ICoursesRepo coursesRepo, ICourseRolesRepo courseRolesRepo, INotificationsRepo notificationsRepo, ICommentPoliciesRepo commentPoliciesRepo, IGroupMembersRepo groupMembersRepo, IGroupAccessesRepo groupAccessesRepo, IVisitsRepo visitsRepo) : base(courseManager, db, usersRepo, commentsRepo, commentLikesRepo, coursesRepo, courseRolesRepo, notificationsRepo, groupMembersRepo, groupAccessesRepo, visitsRepo) { this.commentPoliciesRepo = commentPoliciesRepo; }
public CommentController(ILogger logger, IWebCourseManager courseManager, UlearnDb db, IUsersRepo usersRepo, ICommentsRepo commentsRepo, ICommentLikesRepo commentLikesRepo, ICoursesRepo coursesRepo, ICourseRolesRepo courseRolesRepo, INotificationsRepo notificationsRepo, IGroupMembersRepo groupMembersRepo, IGroupAccessesRepo groupAccessesRepo) : base(logger, courseManager, db, usersRepo, commentsRepo, commentLikesRepo, coursesRepo, courseRolesRepo, notificationsRepo, groupMembersRepo, groupAccessesRepo) { }
public FeedRepo(UlearnDb db, INotificationsRepo notificationsRepo, IVisitsRepo visitsRepo) { this.db = db; this.notificationsRepo = notificationsRepo; this.visitsRepo = visitsRepo; }
public DeliveriesProcessor(INotificationsRepo notificationsRepo, INotificationSender notificationSender, IWebCourseManager courseManager) { this.notificationsRepo = notificationsRepo; this.notificationSender = notificationSender; this.courseManager = courseManager; }