public DocViewProvider( IUserNotificationTypeDefaults userNotificationTypeDefaults, IDummyClaimsPrincipalFactory <User> claimsPrincipalFactory, IFollowManager <Plato.Follows.Models.Follow> followManager, IFollowStore <Plato.Follows.Models.Follow> followStore, INotificationManager <Doc> notificationManager, IAuthorizationService authorizationService, IHttpContextAccessor httpContextAccessor, IDeferredTaskManager deferredTaskManager, IPlatoUserStore <User> platoUserStore, IEntityStore <Doc> entityStore, IContextFacade contextFacade) { _userNotificationTypeDefaults = userNotificationTypeDefaults; _request = httpContextAccessor.HttpContext.Request; _claimsPrincipalFactory = claimsPrincipalFactory; _authorizationService = authorizationService; _notificationManager = notificationManager; _deferredTaskManager = deferredTaskManager; _platoUserStore = platoUserStore; _followManager = followManager; _contextFacade = contextFacade; _followStore = followStore; _entityStore = entityStore; }
public EntityReplySubscriber( IUserNotificationTypeDefaults userNotificationTypeDefaults, IDummyClaimsPrincipalFactory <User> claimsPrincipalFactory, INotificationManager <TEntityReply> notificationManager, IEntityReplyStore <TEntityReply> entityReplyStore, IFollowStore <Follows.Models.Follow> followStore, IEntityTagStore <EntityTag> entityTagStore, IAuthorizationService authorizationService, IDeferredTaskManager deferredTaskManager, IPlatoUserStore <User> platoUserStore, IEntityStore <Topic> entityStore, IBroker broker) { _userNotificationTypeDefaults = userNotificationTypeDefaults; _claimsPrincipalFactory = claimsPrincipalFactory; _authorizationService = authorizationService; _deferredTaskManager = deferredTaskManager; _notificationManager = notificationManager; _entityReplyStore = entityReplyStore; _entityTagStore = entityTagStore; _platoUserStore = platoUserStore; _followStore = followStore; _entityStore = entityStore; _broker = broker; }
public ReportReplyManager( INotificationManager <ReportSubmission <Reply> > notificationManager, IPlatoUserStore <User> platoUserStore, IUserNotificationTypeDefaults userNotificationTypeDefaults, IDeferredTaskManager deferredTaskManager) { _notificationManager = notificationManager; _platoUserStore = platoUserStore; _userNotificationTypeDefaults = userNotificationTypeDefaults; _deferredTaskManager = deferredTaskManager; }
public ReportTopicManager( INotificationManager <ReportSubmission <Topic> > notificationManager, IUserNotificationTypeDefaults userNotificationTypeDefaults, IDeferredTaskManager deferredTaskManager, IPlatoUserStore <User> platoUserStore) { _userNotificationTypeDefaults = userNotificationTypeDefaults; _deferredTaskManager = deferredTaskManager; _notificationManager = notificationManager; _platoUserStore = platoUserStore; }
public LoginOperator(ISpamChecker spamChecker, INotificationManager <User> notificationManager, IPlatoUserStore <User> platoUserStore, IDeferredTaskManager deferredTaskManager, IUserNotificationTypeDefaults userNotificationTypeDefaults) { _spamChecker = spamChecker; _notificationManager = notificationManager; _platoUserStore = platoUserStore; _deferredTaskManager = deferredTaskManager; _userNotificationTypeDefaults = userNotificationTypeDefaults; }
public EditProfileViewProvider( IUserNotificationTypeDefaults userNotificationTypeDefaults, INotificationTypeManager notificationTypeManager, IHttpContextAccessor httpContextAccessor, IPlatoUserStore <User> platoUserStore, UserManager <User> userManager) { _userNotificationTypeDefaults = userNotificationTypeDefaults; _notificationTypeManager = notificationTypeManager; _httpContextAccessor = httpContextAccessor; _platoUserStore = platoUserStore; _userManager = userManager; }
public ReplyOperator( IUserNotificationTypeDefaults userNotificationTypeDefaults, INotificationManager <Reply> notificationManager, IDeferredTaskManager deferredTaskManager, IPlatoUserStore <User> platoUserStore, IEntityReplyStore <Reply> replyStore, ISpamChecker spamChecker) { _userNotificationTypeDefaults = userNotificationTypeDefaults; _notificationManager = notificationManager; _deferredTaskManager = deferredTaskManager; _platoUserStore = platoUserStore; _spamChecker = spamChecker; _replyStore = replyStore; }
public PersonalizerBadgeAwarder( ICacheManager cacheManager, IDbHelper dbHelper, IPlatoUserStore <User> userStore, INotificationManager <Badge> notificationManager, IUserReputationAwarder userReputationAwarder, IUserNotificationTypeDefaults userNotificationTypeDefaults) { _cacheManager = cacheManager; _dbHelper = dbHelper; _userStore = userStore; _notificationManager = notificationManager; _userReputationAwarder = userReputationAwarder; _userNotificationTypeDefaults = userNotificationTypeDefaults; }
public static bool NotificationEnabled( this IUser user, IUserNotificationTypeDefaults userNotificationTypeDefaults, INotificationType notificationType) { foreach (var userNotificationType in userNotificationTypeDefaults.GetUserNotificationTypesWithDefaults(user)) { if (userNotificationType.Name.Equals(notificationType.Name, StringComparison.OrdinalIgnoreCase)) { return(userNotificationType.Enabled); } } return(false); }
public AnswerBadgesAwarder( IUserNotificationTypeDefaults userNotificationTypeDefaults, INotificationManager <Badge> notificationManager, IUserReputationAwarder userReputationAwarder, IPlatoUserStore <User> userStore, IFeatureFacade featureFacade, ICacheManager cacheManager, IDbHelper dbHelper) { _userNotificationTypeDefaults = userNotificationTypeDefaults; _userReputationAwarder = userReputationAwarder; _notificationManager = notificationManager; _featureFacade = featureFacade; _cacheManager = cacheManager; _userStore = userStore; _dbHelper = dbHelper; }
public EntitySubscriber( IEntityMentionsManager <EntityMention> entityMentionsManager, IUserNotificationTypeDefaults userNotificationTypeDefaults, IEntityMentionsStore <EntityMention> entityMentionsStore, INotificationManager <TEntity> notificationManager, ILogger <EntitySubscriber <TEntity> > logger, IMentionsParser mentionParser, IBroker broker) { _userNotificationTypeDefaults = userNotificationTypeDefaults; _entityMentionsManager = entityMentionsManager; _entityMentionsStore = entityMentionsStore; _notificationManager = notificationManager; _mentionParser = mentionParser; _broker = broker; _logger = logger; }
public TopicOperator( IUserNotificationTypeDefaults userNotificationTypeDefaults, INotificationManager <Topic> notificationManager, IDeferredTaskManager deferredTaskManager, IPlatoUserStore <User> platoUserStore, IClientIpAddress clientIpAddress, IEntityStore <Topic> topicStore, ISpamChecker spamChecker) { _userNotificationTypeDefaults = userNotificationTypeDefaults; _deferredTaskManager = deferredTaskManager; _notificationManager = notificationManager; _clientIpAddress = clientIpAddress; _platoUserStore = platoUserStore; _spamChecker = spamChecker; _topicStore = topicStore; }