public Migrations(IContentManager contentManager,
                   IWidgetsService widgetsService,
                   IAutorouteService autorouteService)
 {
     _autorouteService = autorouteService;
     _contentManager = contentManager;
     _widgetsService = widgetsService;
 }
Example #2
0
        public AutoroutePartDriver(
            IAliasService aliasService,
            IContentManager contentManager,
            IAutorouteService autorouteService)
        {
            _aliasService     = aliasService;
            _contentManager   = contentManager;
            _autorouteService = autorouteService;

            T = NullLocalizer.Instance;
        }
Example #3
0
 public TaxonomyExtensionsService(
     IAutorouteService autorouteService,
     IContentManager contentManager,
     IContentDefinitionManager contentDefinitionManager,
     ITaxonomyService taxonomyService,
     ILocalizationService localizationService)
 {
     _autorouteService         = autorouteService;
     _contentManager           = contentManager;
     _contentDefinitionManager = contentDefinitionManager;
     _taxonomyService          = taxonomyService;
 }
 public Migrations(
     IContentManager contentManager,
     IMenuService menuService,
     IAliasService aliasService,
     IAutorouteService autorouteService,
     IWidgetsService widgetsService)
 {
     _contentManager = contentManager;
     _menuService = menuService;
     _aliasService = aliasService;
     _autorouteService = autorouteService;
     _widgetsService = widgetsService;
 }
 public BlogPostPartHandler(RequestContext requestContext, IContentManager contentManager, IAutorouteService routeService, ILocalizationService localizationService, INotifier notifier)
 {
     _contentManager      = contentManager;
     _routeService        = routeService;
     _localizationService = localizationService;
     Notifier             = notifier;
     T = NullLocalizer.Instance;
     //move posts when created, updated or published
     //changed OnCreating and OnUpdating in OnCreated and OnUpdated so LocalizationPart is already populated
     OnCreated <BlogPostPart>((context, part) => MigrateBlogPost(context.ContentItem));
     OnUpdated <BlogPostPart>((context, part) => MigrateBlogPost(context.ContentItem));
     OnPublishing <BlogPostPart>((context, part) => MigrateBlogPost(context.ContentItem));
 }
Example #6
0
 public RouteController(
     IContentDefinitionManager contentDefinitionManager,
     IOrchardServices orchardServices,
     ISessionFactoryHolder sessionFactoryHolder,
     ShellSettings shellSettings,
     IAutorouteService autorouteService,
     IReportsCoordinator reportsCoordinator) {
     _contentDefinitionManager = contentDefinitionManager;
     _orchardServices = orchardServices;
     _sessionFactoryHolder = sessionFactoryHolder;
     _shellSettings = shellSettings;
     _autorouteService = autorouteService;
     _reportsCoordinator = reportsCoordinator;
 }
Example #7
0
 public RouteController(
     IContentDefinitionManager contentDefinitionManager,
     IOrchardServices orchardServices,
     ISessionFactoryHolder sessionFactoryHolder,
     ShellSettings shellSettings,
     IAutorouteService autorouteService) {
     _contentDefinitionManager = contentDefinitionManager;
     _orchardServices = orchardServices;
     _sessionFactoryHolder = sessionFactoryHolder;
     _shellSettings = shellSettings;
     _autorouteService = autorouteService;
     T = NullLocalizer.Instance;
     Logger = NullLogger.Instance;
 }
Example #8
0
 public RouteController(
     IContentDefinitionManager contentDefinitionManager,
     IOrchardServices orchardServices,
     ISessionFactoryHolder sessionFactoryHolder,
     ShellSettings shellSettings,
     IAutorouteService autorouteService,
     IReportsCoordinator reportsCoordinator)
 {
     _contentDefinitionManager = contentDefinitionManager;
     _orchardServices          = orchardServices;
     _sessionFactoryHolder     = sessionFactoryHolder;
     _shellSettings            = shellSettings;
     _autorouteService         = autorouteService;
     _reportsCoordinator       = reportsCoordinator;
 }
 public RouteController(
     IContentDefinitionManager contentDefinitionManager,
     IOrchardServices orchardServices,
     ISessionFactoryHolder sessionFactoryHolder,
     ShellSettings shellSettings,
     IAutorouteService autorouteService)
 {
     _contentDefinitionManager = contentDefinitionManager;
     _orchardServices          = orchardServices;
     _sessionFactoryHolder     = sessionFactoryHolder;
     _shellSettings            = shellSettings;
     _autorouteService         = autorouteService;
     T      = NullLocalizer.Instance;
     Logger = NullLogger.Instance;
 }
        public AutoroutePartDriver(
            IAliasService aliasService,
            IContentManager contentManager,
            IAutorouteService autorouteService,
            IAuthorizer authorizer,
            INotifier notifier)
        {
            _aliasService     = aliasService;
            _contentManager   = contentManager;
            _autorouteService = autorouteService;
            _authorizer       = authorizer;
            _notifier         = notifier;

            T = NullLocalizer.Instance;
        }
 public Migrations(
     IAutorouteService autorouteService,
     IMenuService menuService,
     IRepository<QueryPartRecord> queryRepository,
     IContentManager contentManager,
     IWidgetsService widgetService,
     ITaxonomyService taxonomyService
     ) {
     _autorouteService = autorouteService;
     _menuService = menuService;
     _contentManager = contentManager;
     _widgetsService = widgetService;
     _queryRepository = queryRepository;
     _taxonomyService = taxonomyService;
     _templateProvider = new FileSystemTemplateProvider();
 }
        public EventAdminController(IOrchardServices services,
                                    ICalendarService calendarService,
                                    IEventService eventService,
                                    IContentManager contentManager,
                                    ITransactionManager transactionManager,
                                    IShapeFactory shapeFactory,
                                    IAutorouteService ar)
        {
            Services        = services;
            T               = NullLocalizer.Instance;
            _contentManager = contentManager;

            _calendarService    = calendarService; //new CalendarService(_contentManager);
            _eventService       = eventService;    //new EventService(_contentManager);
            _transactionManager = transactionManager;
            _autorouteService   = ar;
            Shape = shapeFactory;
        }
        public AutoroutePartDriver(
            IAutorouteService autorouteService,
            INotifier notifier,
            IHomeAliasService homeAliasService,
            IAliasService aliasService,
            IAuthorizer authorizer,
            ICultureManager cultureManager,
            IContentManager contentManager,
            IHttpContextAccessor httpContextAccessor)
        {
            _aliasService        = aliasService;
            _contentManager      = contentManager;
            _autorouteService    = autorouteService;
            _notifier            = notifier;
            _homeAliasService    = homeAliasService;
            _cultureManager      = cultureManager;
            _httpContextAccessor = httpContextAccessor;

            T = NullLocalizer.Instance;
        }
Example #14
0
        public CommunicationService(
            ITaxonomyService taxonomyService,
            IRepository <CommunicationEmailRecord> repositoryCommunicationEmailRecord,
            INotifier notifier,
            IModuleService moduleService,
            IOrchardServices orchardServices,
            IShortLinksService shortLinksService,
            IContentExtensionsServices contentExtensionsServices,
            ISessionLocator session,
            ICultureManager cultureManager,
            IRepository <CommunicationSmsRecord> repositoryCommunicationSmsRecord,
            IContactRelatedEventHandler contactRelatedEventHandler,
            ITransactionManager transactionManager,
            IFieldIndexService fieldIndexService,
            IAutorouteService autorouteService,
            IRepository <CommunicationRetryRecord> repositoryCommunicationRetryRecord,
            IContentDefinitionManager contentDefinitionManager,
            IUtilsServices utilsServices)
        {
            _orchardServices           = orchardServices;
            _shortLinksService         = shortLinksService;
            _contentExtensionsServices = contentExtensionsServices;
            _moduleService             = moduleService;
            _notifier = notifier;
            _repositoryCommunicationEmailRecord = repositoryCommunicationEmailRecord;
            _repositoryCommunicationSmsRecord   = repositoryCommunicationSmsRecord;
            _repositoryCommunicationRetryRecord = repositoryCommunicationRetryRecord;
            _taxonomyService            = taxonomyService;
            _cultureManager             = cultureManager;
            _contactRelatedEventHandler = contactRelatedEventHandler;
            _transactionManager         = transactionManager;
            _fieldIndexService          = fieldIndexService;
            _autorouteService           = autorouteService;
            _contentDefinitionManager   = contentDefinitionManager;
            _utilsServices = utilsServices;

            T = NullLocalizer.Instance;
        }
Example #15
0
 public AutorouteCommands(IAutorouteService autorouteService) {
     _autorouteService = autorouteService;
 }
Example #16
0
 public AutorouteCommands(IAutorouteService autorouteService)
 {
     _autorouteService = autorouteService;
 }