Ejemplo n.º 1
0
 public EntityMetricFilter(
     IEntityMetricsManager <EntityMetric> entityMetricManager,
     IClientIpAddress clientIpAddress)
 {
     _entityMetricManager = entityMetricManager;
     _clientIpAddress     = clientIpAddress;
 }
Ejemplo n.º 2
0
 public LoginViewProvider(
     IClientIpAddress clientIpAddress,
     ISpamOperatorManager <User> spamOperatorManager,
     IPlatoUserStore <User> platoUserStore)
 {
     _clientIpAddress     = clientIpAddress;
     _spamOperatorManager = spamOperatorManager;
     _platoUserStore      = platoUserStore;
 }
Ejemplo n.º 3
0
 public MetricFilter(
     IMetricsManager <Metric> metricManager,
     IClientIpAddress clientIpAddress,
     IFeatureFacade featureFacade,
     IPageTitleBuilder pageTitleBuilder)
 {
     _metricManager   = metricManager;
     _clientIpAddress = clientIpAddress;
     _featureFacade   = featureFacade;
 }
Ejemplo n.º 4
0
 public ReactController(
     IEntityReactionsManager <EntityReaction> entityReactionManager,
     IEntityReactionsStore <EntityReaction> entityReactionsStore,
     ISimpleReactionsStore simpleReactionsStore,
     IAuthorizationService authorizationService,
     IClientIpAddress clientIpAddress)
 {
     _simpleReactionsStore  = simpleReactionsStore;
     _entityReactionManager = entityReactionManager;
     _entityReactionsStore  = entityReactionsStore;
     _clientIpAddress       = clientIpAddress;
     _authorizationService  = authorizationService;
 }
Ejemplo n.º 5
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;
 }
Ejemplo n.º 6
0
 public VoteController(
     IEntityReplyRatingAggregator <Reply> entityReplyRatingsAggregator,
     IEntityRatingAggregator <Topic> entityRatingsAggregator,
     IEntityRatingsManager <EntityRating> entityRatingManager,
     IEntityRatingsStore <EntityRating> entityRatingsStore,
     IAuthorizationService authorizationService,
     IEntityReplyStore <Reply> entityReplyStore,
     IEntityStore <Topic> entityStore,
     IClientIpAddress clientIpAddress)
 {
     _entityReplyRatingsAggregator = entityReplyRatingsAggregator;
     _entityRatingsAggregator      = entityRatingsAggregator;
     _authorizationService         = authorizationService;
     _entityRatingManager          = entityRatingManager;
     _entityRatingsStore           = entityRatingsStore;
     _entityReplyStore             = entityReplyStore;
     _clientIpAddress = clientIpAddress;
     _entityStore     = entityStore;
 }
Ejemplo n.º 7
0
        public PlatoUserManager(
            IStringLocalizer <PlatoUserManager <TUser> > stringLocalizer,
            IUserSecurityStampStore <TUser> securityStampStore,
            IPlatoUserStore <TUser> platoUserStore,
            IUserColorProvider userColorProvider,
            ISiteSettingsStore siteSettingsStore,
            IClientIpAddress clientIpAddress,
            UserManager <TUser> userManager,
            IBroker broker)
        {
            _securityStampStore = securityStampStore;
            _siteSettingsStore  = siteSettingsStore;
            _userColorProvider  = userColorProvider;
            _clientIpAddress    = clientIpAddress;
            _platoUserStore     = platoUserStore;
            _userManager        = userManager;
            _broker             = broker;

            T = stringLocalizer;
        }