Esempio n. 1
0
        public ResourceElementFactory(CatalogElementFactory catalogElementFactory,
                                      EpiMappingHelper mappingHelper,
                                      CatalogCodeGenerator catalogCodeGenerator,
                                      IConfiguration config,
                                      IEntityService entityService)
        {
            _catalogElementFactory = catalogElementFactory;
            _mappingHelper         = mappingHelper;
            _catalogCodeGenerator  = catalogCodeGenerator;
            _config        = config;
            _entityService = entityService;

            _isImageCache = new Dictionary <string, bool>();
        }
 public CatalogDocumentFactory(IConfiguration config,
                               EpiApi epiApi,
                               CatalogElementFactory catalogElementFactory,
                               EpiMappingHelper epiMappingHelper,
                               ChannelHelper channelHelper,
                               CatalogCodeGenerator catalogCodeGenerator,
                               IEntityService entityService)
 {
     _config = config;
     _epiApi = epiApi;
     _catalogElementFactory = catalogElementFactory;
     _epiMappingHelper      = epiMappingHelper;
     _channelHelper         = channelHelper;
     _catalogCodeGenerator  = catalogCodeGenerator;
     _entityService         = entityService;
 }