Exemplo n.º 1
0
 public SaveContentTypeCommandHandler(IContentDefinitionStore store, IVersioner versioner, ContentTypeValidator validator, IDispatcher dispatcher)
 {
     _store      = store;
     _versioner  = versioner;
     _validator  = validator;
     _dispatcher = dispatcher;
 }
Exemplo n.º 2
0
        public ContentDefinitionManager(
            IContentDefinitionStore contentDefinitionStore,
            IMemoryCache memoryCache)
        {
            _contentDefinitionStore = contentDefinitionStore;
            _memoryCache            = memoryCache;

            _cachedTypeDefinitions = _memoryCache.GetOrCreate("TypeDefinitions", entry => new ConcurrentDictionary <string, ContentTypeDefinition>());
            _cachedPartDefinitions = _memoryCache.GetOrCreate("PartDefinitions", entry => new ConcurrentDictionary <string, ContentPartDefinition>());
        }
Exemplo n.º 3
0
        public ContentDefinitionManager(
            IMemoryCache memoryCache,
            ISignal signal,
            IContentDefinitionStore contentDefinitionStore)
        {
            _signal = signal;
            _contentDefinitionStore = contentDefinitionStore;
            _memoryCache            = memoryCache;

            _typeDefinitions = _memoryCache.GetOrCreate("TypeDefinitions", entry => new ConcurrentDictionary <string, ContentTypeDefinition>());
            _partDefinitions = _memoryCache.GetOrCreate("PartDefinitions", entry => new ConcurrentDictionary <string, ContentPartDefinition>());
        }
Exemplo n.º 4
0
 public ContentDefinitionDeploymentSource(IContentDefinitionStore contentDefinitionStore)
 {
     _contentDefinitionStore = contentDefinitionStore;
 }
Exemplo n.º 5
0
 public DelecteContentTypeCommandHandler(IContentDefinitionStore contentDefinitionStore, IContentStore contentStore)
 {
     _contentDefinitionStore = contentDefinitionStore;
     _contentStore           = contentStore;
 }
Exemplo n.º 6
0
 public ContentCollectionValidator(IContentDefinitionStore contentDefinitionStore, IContentStore contentStore)
 {
     _contentDefinitionStore = contentDefinitionStore;
     _contentStore           = contentStore;
 }
Exemplo n.º 7
0
 public ContentTypeQueryHandler(IContentDefinitionStore store)
 {
     _store = store;
 }
Exemplo n.º 8
0
 public ContentTypeValidator(IApplicationStore applicationStore, IContentDefinitionStore contentDefinitionStore)
 {
     _applicationStore       = applicationStore;
     _contentDefinitionStore = contentDefinitionStore;
 }
Exemplo n.º 9
0
 public TranslationsController(IContentDefinitionStore contentDefinitionStore, IContentStore contentStore)
 {
     _contentDefinitionStore = contentDefinitionStore;
     _contentStore           = contentStore;
 }