Esempio n. 1
0
 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;
 }
Esempio n. 2
0
 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;
 }
Esempio n. 3
0
 public ReportReplyManager(
     INotificationManager <ReportSubmission <Reply> > notificationManager,
     IPlatoUserStore <User> platoUserStore,
     IUserNotificationTypeDefaults userNotificationTypeDefaults,
     IDeferredTaskManager deferredTaskManager)
 {
     _notificationManager          = notificationManager;
     _platoUserStore               = platoUserStore;
     _userNotificationTypeDefaults = userNotificationTypeDefaults;
     _deferredTaskManager          = deferredTaskManager;
 }
Esempio n. 4
0
 public ReportTopicManager(
     INotificationManager <ReportSubmission <Topic> > notificationManager,
     IUserNotificationTypeDefaults userNotificationTypeDefaults,
     IDeferredTaskManager deferredTaskManager,
     IPlatoUserStore <User> platoUserStore)
 {
     _userNotificationTypeDefaults = userNotificationTypeDefaults;
     _deferredTaskManager          = deferredTaskManager;
     _notificationManager          = notificationManager;
     _platoUserStore = platoUserStore;
 }
Esempio n. 5
0
 public LoginOperator(ISpamChecker spamChecker,
                      INotificationManager <User> notificationManager,
                      IPlatoUserStore <User> platoUserStore,
                      IDeferredTaskManager deferredTaskManager,
                      IUserNotificationTypeDefaults userNotificationTypeDefaults)
 {
     _spamChecker                  = spamChecker;
     _notificationManager          = notificationManager;
     _platoUserStore               = platoUserStore;
     _deferredTaskManager          = deferredTaskManager;
     _userNotificationTypeDefaults = userNotificationTypeDefaults;
 }
Esempio n. 6
0
 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;
 }
Esempio n. 7
0
 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;
 }