Exemplo n.º 1
0
 public SiteSearchPartDisplay(IContentDefinitionManager contentDefinitionManager, IHttpContextAccessor httpContextAccessor, IQueryManager queryManager, YesSql.ISession session)
 {
     _contentDefinitionManager = contentDefinitionManager;
     _httpContextAccessor      = httpContextAccessor;
     _queryManager             = queryManager;
     _session = session;
 }
Exemplo n.º 2
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;
        }
Exemplo n.º 3
0
        public QuickEntryController(
            IContentManager contentManager,
            IContentItemDisplayManager contentItemDisplayManager,
            IContentDefinitionManager contentDefinitionManager,
            INotifier notifier,
            ISession session,
            IShapeFactory shapeFactory,
            ILogger <QuickEntryController> logger,
            IHtmlLocalizer <QuickEntryController> localizer,
            IAuthorizationService authorizationService,
            IUpdateModelAccessor updateModelAccessor,
            IListContainerService listContainerService
            )
        {
            _authorizationService      = authorizationService;
            _updateModelAccessor       = updateModelAccessor;
            _listContainerService      = listContainerService;
            _notifier                  = notifier;
            _contentItemDisplayManager = contentItemDisplayManager;
            _session                  = session;
            _contentManager           = contentManager;
            _contentDefinitionManager = contentDefinitionManager;

            T      = localizer;
            New    = shapeFactory;
            Logger = logger;
        }
Exemplo n.º 4
0
 public DashboardController(
     IAuthorizationService authorizationService,
     IAdminDashboardService adminDashboardService,
     IContentManager contentManager,
     IContentItemDisplayManager contentItemDisplayManager,
     IContentDefinitionManager contentDefinitionManager,
     ISiteService siteService,
     IUpdateModelAccessor updateModelAccessor,
     IShapeFactory shapeFactory,
     INotifier notifier,
     IStringLocalizer <DashboardController> stringLocalizer,
     IHtmlLocalizer <DashboardController> htmlLocalizer,
     YesSql.ISession session,
     ILogger <DashboardController> logger)
 {
     _authorizationService      = authorizationService;
     _adminDashboardService     = adminDashboardService;
     _contentManager            = contentManager;
     _contentItemDisplayManager = contentItemDisplayManager;
     _contentDefinitionManager  = contentDefinitionManager;
     _siteService         = siteService;
     _updateModelAccessor = updateModelAccessor;
     New       = shapeFactory;
     _notifier = notifier;
     S         = stringLocalizer;
     H         = htmlLocalizer;
     _session  = session;
     _logger   = logger;
 }
Exemplo n.º 5
0
 public ContentHelper(
     IContentManager contentManager,
     YesSql.ISession session,
     IContentDefinitionManager contentDefinitionManager,
     IContentAliasManager contentAliasManager)
 {
     _contentManager           = contentManager;
     _session                  = session;
     _contentDefinitionManager = contentDefinitionManager;
     _contentAliasManager      = contentAliasManager;
 }
Exemplo n.º 6
0
 public GraphSyncContentHandler(
     ISyncOrchestrator syncOrchestrator,
     IDeleteOrchestrator deleteOrchestrator,
     ISession session,
     IHttpContextAccessor httpContextAccessor,
     ILogger <GraphSyncContentHandler> logger)
 {
     _syncOrchestrator    = syncOrchestrator;
     _deleteOrchestrator  = deleteOrchestrator;
     _session             = session;
     _httpContextAccessor = httpContextAccessor;
     _logger = logger;
 }
Exemplo n.º 7
0
 public AdvancedFormsController(
     IContentManager contentManager,
     IContentItemDisplayManager contentItemDisplayManager,
     IAuthorizationService authorizationService,
     IContentAliasManager contentAliasManager,
     YesSql.ISession session
     )
 {
     _authorizationService      = authorizationService;
     _contentItemDisplayManager = contentItemDisplayManager;
     _contentManager            = contentManager;
     _contentAliasManager       = contentAliasManager;
     _session = session;
 }
 public UserTimeZoneService(
     IClock clock,
     IDistributedCache distributedCache,
     IServiceProvider serviceProvider,
     IHttpContextAccessor httpContextAccessor,
     UserManager <IUser> userManager,
     YesSql.ISession session
     )
 {
     _clock               = clock;
     _distributedCache    = distributedCache;
     _serviceProvider     = serviceProvider;
     _httpContextAccessor = httpContextAccessor;
     _userManager         = userManager;
     _session             = session;
 }
Exemplo n.º 9
0
        public VotingController(
            IContentManager contentManager,
            IVotingStore votingStore,
            IHttpContextAccessor httpContextAccessor,
            IClock clock,
            ISession session

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

            _contentManager = contentManager;
        }
Exemplo n.º 10
0
 public TeamController(IShapeFactory shapeFactory,
                       IHackathonService hackathonService,
                       IHtmlLocalizer <TeamController> htmlLocalizer,
                       IAuthorizationService authorizationService,
                       INotifier notifier,
                       YesSql.ISession session,
                       ISiteService siteService
                       )
 {
     New = shapeFactory;
     _hackathonService = hackathonService;
     H = htmlLocalizer;
     _authorizationService = authorizationService;
     _notifier             = notifier;
     _session     = session;
     _siteService = siteService;
 }
Exemplo n.º 11
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;
        }