/// <summary>
 /// Constructor
 /// </summary>
 public FormTypeModelSynchronizer(IXFormBuilder xFormBuilder, IFormFieldTypeSynchronizer formFieldTypeSynchronizer, ITypeScannerLookup typeScannerLookup)
 {
     _formTypeModels = new List<FormTypeModel>();
     _xFormBuilder = xFormBuilder;
     _formFieldTypeSynchronizer = formFieldTypeSynchronizer;
     _typeScannerLookup = typeScannerLookup;
 }
        /// <summary>
        /// Initializes a new instance of the <see cref="SettingsService"/> class.
        /// </summary>
        /// <param name="contentRepository">The content repository.</param>
        /// <param name="contentRootService">The content root service.</param>
        /// <param name="typeScannerLookup">The type scanner lookup.</param>
        /// <param name="contentTypeRepository">The content type repository.</param>
        /// <param name="ancestorReferencesLoader">The ancestor references loader.</param>
        public SettingsService(
            IContentRepository contentRepository,
            ContentRootService contentRootService,
            ITypeScannerLookup typeScannerLookup,
            IContentTypeRepository contentTypeRepository,
            AncestorReferencesLoader ancestorReferencesLoader)
        {
            this.contentRepository        = contentRepository;
            this.contentRootService       = contentRootService;
            this.typeScannerLookup        = typeScannerLookup;
            this.contentTypeRepository    = contentTypeRepository;
            this.ancestorReferencesLoader = ancestorReferencesLoader;

            GlobalSettings = new Dictionary <Type, object>();
        }
Example #3
0
 public SettingsService(
     IContentRepository contentRepository,
     ContentRootService contentRootService,
     ITypeScannerLookup typeScannerLookup,
     IContentTypeRepository contentTypeRepository,
     IContentEvents contentEvents,
     ISiteDefinitionEvents siteDefinitionEvents,
     ISiteDefinitionRepository siteDefinitionRepository,
     ISiteDefinitionResolver siteDefinitionResolver,
     IHttpContextAccessor httpContextAccessor)
 {
     _contentRepository        = contentRepository;
     _contentRootService       = contentRootService;
     _typeScannerLookup        = typeScannerLookup;
     _contentTypeRepository    = contentTypeRepository;
     _contentEvents            = contentEvents;
     _siteDefinitionEvents     = siteDefinitionEvents;
     _siteDefinitionRepository = siteDefinitionRepository;
     _siteDefinitionResolver   = siteDefinitionResolver;
     _httpContextAccessor      = httpContextAccessor;
 }
 public FontThumbnailModule(string name, string routeBasePath, string resourceBasePath, ITypeScannerLookup typeScannerLookup, VirtualPathProvider virtualPathProvider) : base(name, routeBasePath, resourceBasePath, typeScannerLookup, virtualPathProvider)
 {
 }
 public MediaReferenceSelectorModule(string name, string routeBasePath, string resourceBasePath, ITypeScannerLookup typeScannerLookup, VirtualPathProvider virtualPathProvider) : base(name, routeBasePath, resourceBasePath, typeScannerLookup, virtualPathProvider)
 {
 }
 public IndexContentInFindModule(string name, string routeBasePath, string resourceBasePath, ITypeScannerLookup typeScannerLookup, VirtualPathProvider virtualPathProvider) : base(name, routeBasePath, resourceBasePath, typeScannerLookup, virtualPathProvider)
 {
 }
 public HotspotsCmsModule(string name, string routeBasePath, string resourceBasePath, ITypeScannerLookup typeScannerLookup, VirtualPathProvider virtualPathProvider) : base(name, routeBasePath, resourceBasePath, typeScannerLookup, virtualPathProvider)
 {
 }
Example #8
0
 public ExtendedContentTypeModelScanner(ITypeScannerLookup typeScannerLookup, ContentTypeModelRegister typeModelRegister, ContentModelValidator modelValidator, ContentTypeModelRepository contentTypeModelRepository, IContentTypeModelAssigner contentTypeModelAssigner, ContentDataInterceptorHandler modelTypeInterceptorHandler, ContentDataInterceptor modelTypeInterceptor, IContentTypeModelFilter[] filters, IEnumerable <ContentScannerExtension> registerExtensions, IAvailableModelSettingsRepository availableContentTypeService, IContentTypeModelScannerEventsRaiser contentTypeModelScannerEvents) : base(typeScannerLookup, typeModelRegister, modelValidator, contentTypeModelRepository, contentTypeModelAssigner, modelTypeInterceptorHandler, modelTypeInterceptor, filters, registerExtensions, availableContentTypeService, contentTypeModelScannerEvents)
 {
     TypeScannerLookup = typeScannerLookup;
 }