Esempio n. 1
0
 public PublishingEventHandler(
     BaseItemManager itemManager,
     BaseLinkStrategyFactory linkStrategyFactory,
     IEnterspeedSitecoreLoggingService loggingService,
     IEntityModelMapper <Item, SitecoreContentEntity> sitecoreContentEntityModelMapper,
     IEntityModelMapper <RenderingItem, SitecoreRenderingEntity> sitecoreRenderingEntityModelMapper,
     IEntityModelMapper <Item, SitecoreDictionaryEntity> sitecoreDictionaryEntityModelMapper,
     IEnterspeedIdentityService identityService,
     IEnterspeedIngestService enterspeedIngestService,
     IEnterspeedConfigurationService enterspeedConfigurationService)
 {
     _itemManager         = itemManager;
     _linkStrategyFactory = linkStrategyFactory;
     _loggingService      = loggingService;
     _sitecoreContentEntityModelMapper    = sitecoreContentEntityModelMapper;
     _sitecoreRenderingEntityModelMapper  = sitecoreRenderingEntityModelMapper;
     _sitecoreDictionaryEntityModelMapper = sitecoreDictionaryEntityModelMapper;
     _identityService                = identityService;
     _enterspeedIngestService        = enterspeedIngestService;
     _enterspeedConfigurationService = enterspeedConfigurationService;
 }
Esempio n. 2
0
 public EnterspeedJobHandler(
     IEnterspeedJobRepository enterspeedJobRepository,
     IUmbracoContextFactory umbracoContextFactory,
     IEnterspeedPropertyService enterspeedPropertyService,
     ILogger logger,
     IRedirectUrlService redirectUrlService,
     IUmbracoUrlService umbracoUrlService,
     IEnterspeedIngestService enterspeedIngestService,
     IEntityIdentityService entityIdentityService,
     IUmbracoRedirectsService redirectsService)
 {
     _enterspeedJobRepository   = enterspeedJobRepository;
     _umbracoContextFactory     = umbracoContextFactory;
     _enterspeedPropertyService = enterspeedPropertyService;
     _logger                  = logger;
     _redirectUrlService      = redirectUrlService;
     _umbracoUrlService       = umbracoUrlService;
     _enterspeedIngestService = enterspeedIngestService;
     _entityIdentityService   = entityIdentityService;
     _redirectsService        = redirectsService;
 }
 public EnterspeedJobHandler()
 {
     _enterspeedJobRepository = EnterspeedContext.Current.Repositories.JobRepository;
     _enterspeedIngestService = EnterspeedContext.Current.Services.IngestService;
     _entityIdentityService   = EnterspeedContext.Current.Services.EntityIdentityService;
 }