예제 #1
0
        public FollowActionController(
            IContentManager contentManager,
            IVotingStore votingStore,
            INotifier notifier,
            IHttpContextAccessor httpContextAccessor,
            IClock clock,
            ISession session,

            ILogger <FollowActionController> logger,
            IHtmlLocalizer <FollowActionController> localizer,
            IEnumerable <INotificationEvent> notificationEventHandlers,
            IPushNotificationService pushNotificationService


            )
        {
            _contentManager      = contentManager;
            _votingStore         = votingStore;
            _notifier            = notifier;
            _httpContextAccessor = httpContextAccessor;
            _clock   = clock;
            _session = session;
            T        = localizer;
            Logger   = logger;
            _notificationEventHandlers = notificationEventHandlers;
            _pushNotificationService   = pushNotificationService;
        }
예제 #2
0
        public VotingController(
            IContentManager contentManager,
            IVotingStore votingStore,
            IHttpContextAccessor httpContextAccessor,
            IClock clock,
            ISession session

            )
        {
            _votingStore         = votingStore;
            _httpContextAccessor = httpContextAccessor;
            _clock   = clock;
            _session = session;

            _contentManager = contentManager;
        }
예제 #3
0
        public FollowActionController(
            IContentManager contentManager,
            IVotingStore votingStore,
            INotifier notifier,
            IHttpContextAccessor httpContextAccessor,
            IClock clock,
            ISession session,

            ILogger <FollowActionController> logger,
            IHtmlLocalizer <FollowActionController> localizer

            )
        {
            _contentManager      = contentManager;
            _votingStore         = votingStore;
            _notifier            = notifier;
            _httpContextAccessor = httpContextAccessor;
            _clock   = clock;
            _session = session;
            T        = localizer;
            Logger   = logger;
        }