public PageTypeSynchronizer(IPageTypeDefinitionLocator pageTypeDefinitionLocator, 
            PageTypeBuilderConfiguration configuration, 
            PageDefinitionSynchronizationEngine pageDefinitionSynchronizationEngine,
            PageTypeDefinitionValidator pageTypeDefinitionValidator,
            PageTypeResolver pageTypeResolver,
            IPageTypeLocator pageTypeLocator,
            PageTypeUpdater pageTypeUpdater,
            TabDefinitionUpdater tabDefinitionUpdater,
            TabLocator tabLocator,
            GlobalPropertySettingsSynchronizer globalPropertySettingsSynchronizer,
            IHooksHandler hooksHandler)
        {
            _configuration = configuration;
            this.pageTypeResolver = pageTypeResolver;
            TabLocator = tabLocator;
            TabDefinitionUpdater = tabDefinitionUpdater;

            using (new TimingsLogger("Getting page type definitions"))
            {
                _pageTypeDefinitions = pageTypeDefinitionLocator.GetPageTypeDefinitions();
            }

            PageTypeUpdater = pageTypeUpdater;
            PageDefinitionSynchronizationEngine = pageDefinitionSynchronizationEngine;
            PageTypeDefinitionValidator = pageTypeDefinitionValidator;
            _pageTypeLocator = pageTypeLocator;
            this.globalPropertySettingsSynchronizer = globalPropertySettingsSynchronizer;
            this.hooksHandler = hooksHandler;
        }
 public PageTypeUpdater(IPageTypeDefinitionLocator pageTypeDefinitionLocator, 
     IPageTypeRepository pageTypeRepository, 
     IPageTypeValueExtractor pageTypeValueExtractor,
     IPageTypeLocator pageTypeLocator)
 {
     _pageTypeDefinitions = pageTypeDefinitionLocator.GetPageTypeDefinitions();
     PageTypeRepository = pageTypeRepository;
     DefaultFilename = DefaultPageTypeFilename;
     _pageTypeValueExtractor = pageTypeValueExtractor;
     _pageTypeLocator = pageTypeLocator;
 }
 public PageTypeUpdater(IPageTypeDefinitionLocator pageTypeDefinitionLocator,
                        IPageTypeFactory pageTypeFactory,
                        IPageTypeValueExtractor pageTypeValueExtractor,
                        IPageTypeLocator pageTypeLocator)
 {
     _pageTypeDefinitions    = pageTypeDefinitionLocator.GetPageTypeDefinitions();
     PageTypeFactory         = pageTypeFactory;
     DefaultFilename         = DefaultPageTypeFilename;
     _pageTypeValueExtractor = pageTypeValueExtractor;
     _pageTypeLocator        = pageTypeLocator;
 }
 public PageTypeUpdater(IPageTypeDefinitionLocator pageTypeDefinitionLocator,
                        IPageTypeRepository pageTypeRepository,
                        IPageTypeValueExtractor pageTypeValueExtractor,
                        IPageTypeLocator pageTypeLocator)
 {
     _pageTypeDefinitions    = pageTypeDefinitionLocator.GetPageTypeDefinitions();
     PageTypeRepository      = pageTypeRepository;
     DefaultFilename         = DefaultPageTypeFilename;
     _pageTypeValueExtractor = pageTypeValueExtractor;
     _pageTypeLocator        = pageTypeLocator;
     NewlyCreatedPageTypes   = new List <IPageType>();
 }
 public PageTypeUpdater(IPageTypeDefinitionLocator pageTypeDefinitionLocator, 
     IPageTypeRepository pageTypeRepository, 
     IPageTypeValueExtractor pageTypeValueExtractor,
     IPageTypeLocator pageTypeLocator)
 {
     _pageTypeDefinitions = pageTypeDefinitionLocator.GetPageTypeDefinitions();
     PageTypeRepository = pageTypeRepository;
     DefaultFilename = DefaultPageTypeFilename;
     _pageTypeValueExtractor = pageTypeValueExtractor;
     _pageTypeLocator = pageTypeLocator;
     NewlyCreatedPageTypes = new List<IPageType>();
     UpdatedPageTypeIds = new List<int>();
 }
 public PageTypeSynchronizer(IPageTypeDefinitionLocator pageTypeDefinitionLocator, 
     PageTypeBuilderConfiguration configuration, 
     PageTypePropertyUpdater pageTypePropertyUpdater,
     PageTypeDefinitionValidator pageTypeDefinitionValidator,
     PageTypeResolver pageTypeResolver,
     IPageTypeLocator pageTypeLocator,
     PageTypeUpdater pageTypeUpdater,
     TabDefinitionUpdater tabDefinitionUpdater,
     TabLocator tabLocator)
 {
     _configuration = configuration;
     PageTypeResolver = pageTypeResolver;
     TabLocator = tabLocator;
     TabDefinitionUpdater = tabDefinitionUpdater;
     _pageTypeDefinitions = pageTypeDefinitionLocator.GetPageTypeDefinitions();
     PageTypeUpdater = pageTypeUpdater;
     PageTypePropertyUpdater = pageTypePropertyUpdater;
     PageTypeDefinitionValidator = pageTypeDefinitionValidator;
     _pageTypeLocator = pageTypeLocator;
 }
Example #7
0
 public PageTypeSynchronizer(IPageTypeDefinitionLocator pageTypeDefinitionLocator,
                             PageTypeBuilderConfiguration configuration,
                             PageTypePropertyUpdater pageTypePropertyUpdater,
                             PageTypeDefinitionValidator pageTypeDefinitionValidator,
                             PageTypeResolver pageTypeResolver,
                             IPageTypeLocator pageTypeLocator,
                             PageTypeUpdater pageTypeUpdater,
                             TabDefinitionUpdater tabDefinitionUpdater,
                             TabLocator tabLocator)
 {
     _configuration              = configuration;
     PageTypeResolver            = pageTypeResolver;
     TabLocator                  = tabLocator;
     TabDefinitionUpdater        = tabDefinitionUpdater;
     _pageTypeDefinitions        = pageTypeDefinitionLocator.GetPageTypeDefinitions();
     PageTypeUpdater             = pageTypeUpdater;
     PageTypePropertyUpdater     = pageTypePropertyUpdater;
     PageTypeDefinitionValidator = pageTypeDefinitionValidator;
     _pageTypeLocator            = pageTypeLocator;
 }
Example #8
0
 public PageTypeSynchronizer(IPageTypeDefinitionLocator pageTypeDefinitionLocator,
                             PageTypeBuilderConfiguration configuration,
                             PageDefinitionSynchronizationEngine pageDefinitionSynchronizationEngine,
                             PageTypeDefinitionValidator pageTypeDefinitionValidator,
                             PageTypeResolver pageTypeResolver,
                             IPageTypeLocator pageTypeLocator,
                             PageTypeUpdater pageTypeUpdater,
                             TabDefinitionUpdater tabDefinitionUpdater,
                             TabLocator tabLocator,
                             GlobalPropertySettingsSynchronizer globalPropertySettingsSynchronizer,
                             IHooksHandler hooksHandler)
 {
     _configuration        = configuration;
     this.pageTypeResolver = pageTypeResolver;
     TabLocator            = tabLocator;
     TabDefinitionUpdater  = tabDefinitionUpdater;
     _pageTypeDefinitions  = pageTypeDefinitionLocator.GetPageTypeDefinitions();
     PageTypeUpdater       = pageTypeUpdater;
     PageDefinitionSynchronizationEngine = pageDefinitionSynchronizationEngine;
     PageTypeDefinitionValidator         = pageTypeDefinitionValidator;
     _pageTypeLocator = pageTypeLocator;
     this.globalPropertySettingsSynchronizer = globalPropertySettingsSynchronizer;
     this.hooksHandler = hooksHandler;
 }