Ejemplo n.º 1
0
 public AdminMenuPartDriver(IAuthorizationService authorizationService, INavigationManager navigationManager, ITomeltServices tomeltServices)
 {
     _authorizationService = authorizationService;
     _navigationManager    = navigationManager;
     _tomeltServices       = tomeltServices;
     T = NullLocalizer.Instance;
 }
Ejemplo n.º 2
0
        public ThemeService(
            ITomeltServices tomeltServices,
            IExtensionManager extensionManager,
            IFeatureManager featureManager,
            IEnumerable <IThemeSelector> themeSelectors,
            IVirtualPathProvider virtualPathProvider,
            ICacheManager cacheManager,
            ISiteThemeService siteThemeService)
        {
            Services = tomeltServices;

            _extensionManager    = extensionManager;
            _featureManager      = featureManager;
            _themeSelectors      = themeSelectors;
            _virtualPathProvider = virtualPathProvider;
            _cacheManager        = cacheManager;
            _siteThemeService    = siteThemeService;

            if (_featureManager.FeatureDependencyNotification == null)
            {
                _featureManager.FeatureDependencyNotification = GenerateWarning;
            }

            Logger = NullLogger.Instance;
            T      = NullLocalizer.Instance;
        }
Ejemplo n.º 3
0
        public AdminController(
            IEnumerable <IExtensionDisplayEventHandler> extensionDisplayEventHandlers,
            ITomeltServices services,
            IDataMigrationManager dataMigraitonManager,
            IFeatureManager featureManager,
            ISiteThemeService siteThemeService,
            IExtensionManager extensionManager,
            ShellDescriptor shellDescriptor,
            IPreviewTheme previewTheme,
            IThemeService themeService,
            ShellSettings shellSettings)
        {
            Services = services;

            _extensionDisplayEventHandler = extensionDisplayEventHandlers.FirstOrDefault();
            _dataMigrationManager         = dataMigraitonManager;
            _siteThemeService             = siteThemeService;
            _extensionManager             = extensionManager;
            _shellDescriptor = shellDescriptor;
            _featureManager  = featureManager;
            _previewTheme    = previewTheme;
            _themeService    = themeService;
            _shellSettings   = shellSettings;

            T      = NullLocalizer.Instance;
            Logger = NullLogger.Instance;
        }
Ejemplo n.º 4
0
        public AdminController(
            IEnumerable <IExtensionDisplayEventHandler> extensionDisplayEventHandlers,
            ITomeltServices services,
            IModuleService moduleService,
            IDataMigrationManager dataMigrationManager,
            IExtensionManager extensionManager,
            IFeatureManager featureManager,
            IRecipeHarvester recipeHarvester,
            IRecipeManager recipeManager,
            ShellDescriptor shellDescriptor,
            ShellSettings shellSettings,
            IShapeFactory shapeFactory)
        {
            Services = services;
            _extensionDisplayEventHandler = extensionDisplayEventHandlers.FirstOrDefault();
            _moduleService        = moduleService;
            _dataMigrationManager = dataMigrationManager;
            _extensionManager     = extensionManager;
            _featureManager       = featureManager;
            _recipeHarvester      = recipeHarvester;
            _recipeManager        = recipeManager;
            _shellDescriptor      = shellDescriptor;
            _shellSettings        = shellSettings;
            Shape = shapeFactory;

            T      = NullLocalizer.Instance;
            Logger = NullLogger.Instance;
        }
Ejemplo n.º 5
0
 public NavigationQueryPartDriver(
     ITomeltServices services,
     IRepository <QueryPartRecord> queryRepository)
 {
     _queryRepository = queryRepository;
     T        = NullLocalizer.Instance;
     Services = services;
 }
Ejemplo n.º 6
0
 public OEmbedController(
     ITomeltServices services,
     IMediaLibraryService mediaManagerService)
 {
     _mediaLibraryService = mediaManagerService;
     Services             = services;
     T = NullLocalizer.Instance;
 }
Ejemplo n.º 7
0
 public DateEditorDriver(
     ITomeltServices services,
     IDateLocalizationServices dateLocalizationServices)
 {
     _dateLocalizationServices = dateLocalizationServices;
     T        = NullLocalizer.Instance;
     Services = services;
 }
Ejemplo n.º 8
0
 public AdminController(
     ITomeltServices services,
     IReportsManager reportsManager)
 {
     Services        = services;
     _reportsManager = reportsManager;
     T = NullLocalizer.Instance;
 }
Ejemplo n.º 9
0
 public SettingsTokens(
     ITomeltServices tomeltServices,
     IContentDefinitionManager contentDefinitionManager,
     IMembershipService membershipService)
 {
     _tomeltServices           = tomeltServices;
     _contentDefinitionManager = contentDefinitionManager;
     _membershipService        = membershipService;
 }
Ejemplo n.º 10
0
 public WorkflowDriver(
     ITomeltServices services,
     IRepository <WorkflowRecord> workflowRepository
     )
 {
     _workflowRepository = workflowRepository;
     T        = NullLocalizer.Instance;
     Services = services;
 }
Ejemplo n.º 11
0
 public CommonPartDriver(
     ITomeltServices services,
     IContentManager contentManager,
     IMembershipService membershipService)
 {
     _contentManager    = contentManager;
     _membershipService = membershipService;
     T        = NullLocalizer.Instance;
     Services = services;
 }
Ejemplo n.º 12
0
 public AdminController(
     ISiteService siteService,
     ITomeltServices services,
     ICultureManager cultureManager)
 {
     _siteService    = siteService;
     _cultureManager = cultureManager;
     Services        = services;
     T = NullLocalizer.Instance;
 }
Ejemplo n.º 13
0
 public UnhandledExceptionFilter(
     IExceptionPolicy exceptionPolicy,
     ITomeltServices tomeltServices,
     Lazy <IEnumerable <IFilterProvider> > filters)
 {
     _exceptionPolicy = exceptionPolicy;
     _tomeltServices  = tomeltServices;
     _filterProviders = filters;
     Logger           = NullLogger.Instance;
 }
Ejemplo n.º 14
0
 public PackagingServicesController(
     ShellSettings shellSettings,
     IPackageManager packageManager,
     IPackagingSourceManager packagingSourceManager,
     IAppDataFolderRoot appDataFolderRoot,
     ITomeltServices services,
     IModuleService moduleService,
     IHostEnvironment hostEnvironment)
     : this(shellSettings, packageManager, packagingSourceManager, appDataFolderRoot, services, moduleService, hostEnvironment, null, null)
 {
 }
Ejemplo n.º 15
0
        public ContentPickerFieldLocalizationExtensionHandler(
            ITomeltServices tomeltServices,
            IContentManager contentManager,
            ILocalizationService localizationService)
        {
            _tomeltServices      = tomeltServices;
            _contentManager      = contentManager;
            _localizationService = localizationService;

            T = NullLocalizer.Instance;
        }
Ejemplo n.º 16
0
 public SiteThemeService(
     ITomeltServices tomeltServices,
     IExtensionManager extensionManager,
     ICacheManager cacheManager,
     ISignals signals)
 {
     _tomeltServices   = tomeltServices;
     _extensionManager = extensionManager;
     _cacheManager     = cacheManager;
     _signals          = signals;
 }
Ejemplo n.º 17
0
        public DefaultLayerEvaluationService(IConditionManager conditionManager, ITomeltServices tomeltServices)
        {
            _conditionManager = conditionManager;
            _tomeltServices   = tomeltServices;

            Logger = NullLogger.Instance;
            T      = NullLocalizer.Instance;

            _activeLayerIDs = new LazyField <int[]>();
            _activeLayerIDs.Loader(PopulateActiveLayers);
        }
Ejemplo n.º 18
0
        public FolderController(
            ITomeltServices services,
            IMediaLibraryService mediaManagerService
            )
        {
            _mediaLibraryService = mediaManagerService;

            Services = services;
            Logger   = NullLogger.Instance;
            T        = NullLocalizer.Instance;
        }
Ejemplo n.º 19
0
 public ClientStorageController(
     IMediaLibraryService mediaManagerService,
     ITomeltServices tomeltServices,
     IMimeTypeProvider mimeTypeProvider)
 {
     _mediaLibraryService = mediaManagerService;
     _mimeTypeProvider    = mimeTypeProvider;
     Services             = tomeltServices;
     T      = NullLocalizer.Instance;
     Logger = NullLogger.Instance;
 }
Ejemplo n.º 20
0
 public ItemController(IContentManager contentManager,
                       IShapeFactory shapeFactory,
                       ITomeltServices services,
                       IHttpContextAccessor hca)
 {
     _contentManager = contentManager;
     _hca            = hca;
     Shape           = shapeFactory;
     Services        = services;
     T = NullLocalizer.Instance;
 }
Ejemplo n.º 21
0
 public ContentStep(
     ITomeltServices tomeltServices,
     ITransactionManager transactionManager,
     Lazy <IEnumerable <IContentHandler> > handlers,
     RecipeExecutionLogger logger) : base(logger)
 {
     _tomeltServices     = tomeltServices;
     _transactionManager = transactionManager;
     _handlers           = handlers;
     BatchSize           = 64;
 }
Ejemplo n.º 22
0
 public AdminController(
     IAliasService aliasService,
     ITomeltServices tomeltServices,
     IAliasHolder aliasHolder)
 {
     _aliasService = aliasService;
     _aliasHolder  = aliasHolder;
     Services      = tomeltServices;
     T             = NullLocalizer.Instance;
     Logger        = NullLogger.Instance;
 }
Ejemplo n.º 23
0
 public AdminController(ITomeltServices tomeltServices,
                        IContentDefinitionManager contentDefinitionManager,
                        IArticleService articleService,
                        IColumnService columnService,
                        ITransactionManager transactionManager)
 {
     TomeltServices           = tomeltServices;
     ContentDefinitionManager = contentDefinitionManager;
     ArticleService           = articleService;
     ColumnService            = columnService;
     TransactionManager       = transactionManager;
 }
Ejemplo n.º 24
0
 public WebSearchController(
     IMediaLibraryService mediaManagerService,
     IContentManager contentManager,
     ITomeltServices tomeltServices,
     IMimeTypeProvider mimeTypeProvider)
 {
     _mediaLibraryService = mediaManagerService;
     _contentManager      = contentManager;
     _mimeTypeProvider    = mimeTypeProvider;
     Services             = tomeltServices;
     T = NullLocalizer.Instance;
 }
Ejemplo n.º 25
0
 public OwnerEditorDriver(
     ITomeltServices services,
     IAuthenticationService authenticationService,
     IAuthorizationService authorizationService,
     IMembershipService membershipService)
 {
     _authenticationService = authenticationService;
     _authorizationService  = authorizationService;
     _membershipService     = membershipService;
     T        = NullLocalizer.Instance;
     Services = services;
 }
Ejemplo n.º 26
0
 public ArticleService(ITomeltServices tomeltServices,
                       IRepository <ColumnPartRecord> columnRepository,
                       IContentDefinitionManager contentDefinitionManager,
                       ISiteService siteService,
                       IRepository <ArticlePartRecord> articleRepository)
 {
     TomeltServices           = tomeltServices;
     ColumnRepository         = columnRepository;
     ContentDefinitionManager = contentDefinitionManager;
     SiteService       = siteService;
     ArticleRepository = articleRepository;
 }
Ejemplo n.º 27
0
 public AdminController(
     ITomeltServices tomeltServices,
     IContentManager contentManager,
     ILocalizationService localizationService,
     IShapeFactory shapeFactory)
 {
     _contentManager      = contentManager;
     _localizationService = localizationService;
     T        = NullLocalizer.Instance;
     Services = tomeltServices;
     Shape    = shapeFactory;
 }
Ejemplo n.º 28
0
 public WidgetFilter(
     IWorkContextAccessor workContextAccessor,
     IWidgetsService widgetsService,
     ITomeltServices tomeltServices,
     ILayerEvaluationService layerEvaluationService)
 {
     _workContextAccessor    = workContextAccessor;
     _widgetsService         = widgetsService;
     _tomeltServices         = tomeltServices;
     _layerEvaluationService = layerEvaluationService;
     Logger = NullLogger.Instance;
     T      = NullLocalizer.Instance;
 }
Ejemplo n.º 29
0
        public ContentStep(
            IContentDefinitionManager contentDefinitionManager,
            ITomeltServices tomeltServices,
            IContentDefinitionWriter contentDefinitionWriter)
        {
            _contentDefinitionManager = contentDefinitionManager;
            _tomeltServices           = tomeltServices;
            _contentDefinitionWriter  = contentDefinitionWriter;

            VersionHistoryOptions = VersionHistoryOptions.Published;
            SchemaContentTypes    = new List <string>();
            DataContentTypes      = new List <string>();
        }
Ejemplo n.º 30
0
 public XmlRpcHandler(
     IMembershipService membershipService,
     IAuthorizationService authorizationService,
     IContentManager contentManager,
     ITagService tagService,
     ITomeltServices tomeltServices)
 {
     _membershipService    = membershipService;
     _authorizationService = authorizationService;
     _contentManager       = contentManager;
     _tagService           = tagService;
     _tomeltServices       = tomeltServices;
 }