public DeleteMissingPropertiesJob(IContentTypeRepository contentTypeRepository, ContentTypeModelRepository contentTypeModelRepository, IPropertyDefinitionRepository propertyDefinitionRepository) { this.contentTypeRepository = contentTypeRepository; this.contentTypeModelRepository = contentTypeModelRepository; this.propertyDefinitionRepository = propertyDefinitionRepository; }
public CatalogContentTypeResolver(ReferenceConverter referenceConverter, IContentTypeRepository contentTypeRepository, ContentTypeModelRepository contentTypeModelRepository) { _referenceConverter = referenceConverter; _contentTypeModelRepository = contentTypeModelRepository; _metaClassContentTypeModelMap = PopulateMetadataMappings(); _catalogContentType = contentTypeRepository.Load(typeof(CatalogContent)); }
public CatalogContentTypeResolver(ReferenceConverter referenceConverter, IContentTypeRepository contentTypeRepository, ContentTypeModelRepository contentTypeModelRepository, ISynchronizedObjectInstanceCache cache, IContentCacheKeyCreator contentCacheKeyCreator) { _referenceConverter = referenceConverter; _contentTypeModelRepository = contentTypeModelRepository; _cache = cache; _contentCacheKeyCreator = contentCacheKeyCreator; _metaClassContentTypeModelMap = PopulateMetadataMappings(); _catalogContentType = contentTypeRepository.Load(typeof(CatalogContent)); var masterKey = CachePrefix + "*"; _cacheEvictionPolicyFunc = (contentLink) => new CacheEvictionPolicy(TimeSpan.FromMinutes(10), CacheTimeoutType.Sliding, new [] { _contentCacheKeyCreator.CreateCommonCacheKey(contentLink) }, new [] { masterKey }); }
public ContentTypeAnalyzerController(ContentTypeModelRepository contentTypeModelRepository) { _contentTypeModelRepository = contentTypeModelRepository ?? throw new ArgumentNullException(nameof(contentTypeModelRepository)); }
public FacetContentTransform(IContentTypeRepository contentTypeRepository, ContentTypeModelRepository contentTypeModelRepository) { _contentTypeRepository = contentTypeRepository; _contentTypeModelRepository = contentTypeModelRepository; }
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; }