public ExtensibleStaticPublisher( uSyncPublisherConfig config, IProfilingLogger logger, IGlobalSettings settings, uSyncOutgoingService outgoingService, uSyncIncomingService incomingService, IStaticSiteService staticSiteService, IContentService contentService, SyncFileService syncFileService, IEnumerable <IStaticSitePublisherExtension> staticSitePublisherExtensions, IPublisherSearchConfigs publisherSearchConfigs) : base(config, logger, settings, incomingService) { _outgoingService = outgoingService; _staticSiteService = staticSiteService; _contentService = contentService; _syncFileService = syncFileService; _publisherSearchConfigs = publisherSearchConfigs; _staticSitePublisherExtensions = (staticSitePublisherExtensions?.ToList() ?? new List <IStaticSitePublisherExtension>()).ToDictionary(e => e, e => (object)null); _syncRoot = Path.Combine(settings.LocalTempPath, "uSync", "pack"); Actions = new Dictionary <PublishMode, IEnumerable <SyncPublisherAction> >() { { PublishMode.Push, PushActions } }; }
public uSyncStaticSiteService(UmbracoHelper helper, IEntityService entityService, IContentService contentService, SyncFileService syncFileService, uSyncMediaFileService mediaFileService, TemplateFileService templateFileService, IUmbracoContextFactory contextFactory, IProfilingLogger logger, uSyncPublisherConfig config, SyncStaticDeployerCollection deployers, IGlobalSettings settings) { this.helper = helper; this.entityService = entityService; this.syncFileService = syncFileService; this.mediaFileService = mediaFileService; this.templateFileService = templateFileService; this.contentService = contentService; this.contextFactory = contextFactory; this.syncRoot = Path.GetFullPath(Path.Combine(settings.LocalTempPath, "uSync", "pack")); this.configFile = Path.Combine(Umbraco.Core.IO.SystemDirectories.Config + "/uSync.Publish.config"); this.deployers = deployers; this.logger = logger; }
protected SyncHandlerTreeBase( IEntityService entityService, IProfilingLogger logger, ISyncSerializer <TObject> serializer, ISyncTracker <TObject> tracker, SyncFileService syncFileService) : base(entityService, logger, serializer, tracker, syncFileService) { }
public MacroHandler(IEntityService entityService, IProfilingLogger logger, IMacroService macroService, ISyncSerializer <IMacro> serializer, ISyncTracker <IMacro> tracker, SyncFileService syncFileService) : base(entityService, logger, serializer, tracker, syncFileService) { this.macroService = macroService; }
public DictionaryHandler(IEntityService entityService, IProfilingLogger logger, ILocalizationService localizationService, ISyncSerializer <IDictionaryItem> serializer, ISyncTracker <IDictionaryItem> tracker, SyncFileService syncFileService) : base(entityService, logger, serializer, tracker, syncFileService) { this.localizationService = localizationService; }
protected SyncHandlerLevelBase( IEntityService entityService, IProfilingLogger logger, ISyncSerializer <TObject> serializer, ISyncTracker <TObject> tracker, AppCaches appCaches, SyncFileService syncFileService) : base(entityService, logger, serializer, tracker, appCaches, syncFileService) { }
protected ContentHandlerBase( IEntityService entityService, IProfilingLogger logger, AppCaches appCaches, ISyncSerializer <TObject> serializer, ISyncItemFactory syncItemFactory, SyncFileService syncFileService) : base(entityService, logger, appCaches, serializer, syncItemFactory, syncFileService) { }
public SyncHandlerBase( IEntityService entityService, IProfilingLogger logger, ISyncSerializer <TObject> serializer, ISyncTracker <TObject> tracker, AppCaches appCaches, SyncFileService syncFileService) : this(entityService, logger, serializer, tracker, appCaches, null, syncFileService) { }
public DomainHandler(IEntityService entityService, IProfilingLogger logger, IDomainService domainService, ISyncSerializer <IDomain> serializer, ISyncTracker <IDomain> tracker, SyncFileService syncFileService) : base(entityService, logger, serializer, tracker, syncFileService) { this.domainService = domainService; }
public SyncHandlerBase( IEntityService entityService, IProfilingLogger logger, AppCaches appCaches, ISyncSerializer <TObject> serializer, ISyncItemFactory syncItemFactory, SyncFileService syncFileService) : base(logger, appCaches, serializer, syncItemFactory, syncFileService) { this.entityService = entityService; }
public HistoryComponent(SyncFileService syncFileService, IUmbracoContextFactory umbracoContextFactory, IGlobalSettings globalSettings) { this.umbracoContextFactory = umbracoContextFactory; this.syncFileService = syncFileService; historyFolder = Path.Combine(globalSettings.LocalTempPath, "usync", "history"); uSyncService.ImportComplete += USyncService_ImportComplete; }
protected SyncHandlerContainerBase( IEntityService entityService, IProfilingLogger logger, ISyncSerializer <TObject> serializer, ISyncTracker <TObject> tracker, AppCaches appCaches, ISyncDependencyChecker <TObject> checker, SyncFileService syncFileService) : base(entityService, logger, serializer, tracker, appCaches, checker, syncFileService) { }
protected DictionaryHandler(IEntityService entityService, IProfilingLogger logger, ILocalizationService localizationService, ISyncSerializer <IDictionaryItem> serializer, ISyncTracker <IDictionaryItem> tracker, AppCaches appCaches, ISyncDependencyChecker <IDictionaryItem> checker, SyncFileService syncFileService) : base(entityService, logger, serializer, tracker, appCaches, checker, syncFileService) { this.localizationService = localizationService; }
public DictionaryHandler( ILocalizationService localizationService, IEntityService entityService, IProfilingLogger logger, AppCaches appCaches, ISyncSerializer <IDictionaryItem> serializer, ISyncItemFactory syncItemFactory, SyncFileService syncFileService) : base(entityService, logger, appCaches, serializer, syncItemFactory, syncFileService) { this.localizationService = localizationService; }
public TemplateHandler( IFileService fileService, IEntityService entityService, IProfilingLogger logger, AppCaches appCaches, ISyncSerializer <ITemplate> serializer, ISyncItemFactory syncItemFactory, SyncFileService syncFileService) : base(entityService, logger, appCaches, serializer, syncItemFactory, syncFileService) { this.fileService = fileService; }
public ContentTemplateHandler( IEntityService entityService, IProfilingLogger logger, IContentService contentService, ContentTemplateSerializer serializer, // concreate because we want to make sure we get the blueprint one. ISyncTracker <IContent> tracker, AppCaches appCaches, SyncFileService syncFileService) : base(entityService, logger, serializer, tracker, appCaches, syncFileService) { this.contentService = contentService; }
public MediaHandler( IEntityService entityService, IProfilingLogger logger, IMediaService mediaService, ISyncSerializer <IMedia> serializer, ISyncTracker <IMedia> tracker, SyncFileService syncFileService) : base(entityService, logger, serializer, tracker, syncFileService) { this.mediaService = mediaService; this.itemObjectType = UmbracoObjectTypes.Media; }
/// <summary> /// Initializes a new instance of the <see cref="uSyncMediaTypeService"/> class. /// </summary> /// <param name="logger">The logger.</param> /// <param name="mediaTypeService">The media type service.</param> /// <param name="appCaches">The application caches.</param> /// <param name="entityService">The entity service.</param> /// <param name="shortStringHelper">The short string helper.</param> /// <param name="uSyncFileService">The u synchronize file service.</param> /// <param name="uSyncEventService">The u synchronize event service.</param> /// <param name="uSyncConfigService">The u synchronize configuration service.</param> /// <param name="syncItemFactory">The synchronize item factory.</param> public uSyncMediaTypeService(ILogger <MediaTypeHandler> logger, IMediaTypeService mediaTypeService, AppCaches appCaches, IEntityService entityService, IShortStringHelper shortStringHelper, SyncFileService uSyncFileService, uSyncEventService uSyncEventService, uSyncConfigService uSyncConfigService, ISyncItemFactory syncItemFactory) { _logger = logger; _mediaTypeService = mediaTypeService; _appCaches = appCaches; _entityService = entityService; _shortStringHelper = shortStringHelper; _uSyncFileService = uSyncFileService; _uSyncEventService = uSyncEventService; _uSyncConfigService = uSyncConfigService; _syncItemFactory = syncItemFactory; }
public DomainHandler( IDomainService domainService, IEntityService entityService, IProfilingLogger logger, AppCaches appCaches, ISyncSerializer <IDomain> serializer, ISyncItemFactory syncItemFactory, SyncFileService syncFileService) : base(entityService, logger, appCaches, serializer, syncItemFactory, syncFileService) { this.domainService = domainService; }
protected DomainHandler(IEntityService entityService, IProfilingLogger logger, IDomainService domainService, ISyncSerializer <IDomain> serializer, ISyncTracker <IDomain> tracker, AppCaches appCaches, ISyncDependencyChecker <IDomain> checker, SyncFileService syncFileService) : base(entityService, logger, serializer, tracker, appCaches, checker, syncFileService) { this.domainService = domainService; }
/// <summary> /// Initializes a new instance of the <see cref="uSyncContentService"/> class. /// </summary> /// <param name="logger">The logger.</param> /// <param name="contentService">The content service.</param> /// <param name="appCaches">The application caches.</param> /// <param name="entityService">The entity service.</param> /// <param name="shortStringHelper">The short string helper.</param> /// <param name="uSyncFileService">The u synchronize file service.</param> /// <param name="uSyncEventService">The u synchronize event service.</param> /// <param name="uSyncConfigService">The u synchronize configuration service.</param> /// <param name="syncItemFactory">The synchronize item factory.</param> public uSyncContentService(ILogger <ContentHandler> logger, IContentService contentService, AppCaches appCaches, IEntityService entityService, IShortStringHelper shortStringHelper, SyncFileService usyncFileService, uSyncEventService usyncEventService, uSyncConfigService usyncConfigService, ISyncItemFactory syncItemFactory) { _logger = logger; _contentService = contentService; _appCaches = appCaches; _entityService = entityService; _shortStringHelper = shortStringHelper; _usyncFileService = usyncFileService; _usyncEventService = usyncEventService; _usyncConfigService = usyncConfigService; _syncItemFactory = syncItemFactory; }
public ContentTypeHandler( IContentTypeService contentTypeService, IEntityService entityService, IProfilingLogger logger, AppCaches appCaches, ISyncSerializer <IContentType> serializer, ISyncItemFactory syncItemFactory, SyncFileService syncFileService) : base(entityService, logger, appCaches, serializer, syncItemFactory, syncFileService) { this.contentTypeService = contentTypeService; }
public RelationTypeHandler( IRelationService relationService, IEntityService entityService, IProfilingLogger logger, AppCaches appCaches, ISyncSerializer <IRelationType> serializer, ISyncItemFactory syncItemFactory, SyncFileService syncFileService) : base(entityService, logger, appCaches, serializer, syncItemFactory, syncFileService) { this.relationService = relationService; }
public MemberTypeHandler( IMemberTypeService memberTypeService, IEntityService entityService, IProfilingLogger logger, AppCaches appCaches, ISyncSerializer <IMemberType> serializer, ISyncItemFactory syncItemFactory, SyncFileService syncFileService) : base(entityService, logger, appCaches, serializer, syncItemFactory, syncFileService) { this.memberTypeService = memberTypeService; }
public ContentTemplateHandler( IEntityService entityService, IProfilingLogger logger, IContentService contentService, ContentTemplateSerializer serializer, // concreate because we want to make sure we get the blueprint one. ISyncTracker <IContent> tracker, SyncFileService syncFileService) : base(entityService, logger, serializer, tracker, syncFileService) { this.contentService = contentService; this.itemObjectType = UmbracoObjectTypes.DocumentBlueprint; }
public MacroHandler(IEntityService entityService, IProfilingLogger logger, IMacroService macroService, ISyncSerializer <IMacro> serializer, ISyncTracker <IMacro> tracker, AppCaches appCaches, ISyncDependencyChecker <IMacro> checker, SyncFileService syncFileService) : base(entityService, logger, serializer, tracker, appCaches, checker, syncFileService) { this.macroService = macroService; }
/// <summary> /// Base constructor, should never be called directly /// </summary> protected ContentHandlerBase( ILogger <ContentHandlerBase <TObject, TService> > logger, IEntityService entityService, AppCaches appCaches, IShortStringHelper shortStringHelper, SyncFileService syncFileService, uSyncEventService mutexService, uSyncConfigService uSyncConfigService, ISyncItemFactory syncItemFactory) : base(logger, entityService, appCaches, shortStringHelper, syncFileService, mutexService, uSyncConfigService, syncItemFactory) { }
/// <inheritdoc/> public SyncHandlerBase( ILogger <SyncHandlerBase <TObject, TService> > logger, IEntityService entityService, AppCaches appCaches, IShortStringHelper shortStringHelper, SyncFileService syncFileService, uSyncEventService mutexService, uSyncConfigService uSyncConfig, ISyncItemFactory syncItemFactory) : base(logger, appCaches, shortStringHelper, syncFileService, mutexService, uSyncConfig, syncItemFactory) { this.entityService = entityService; }
protected MemberTypeHandler( IEntityService entityService, IProfilingLogger logger, IMemberTypeService memberTypeService, ISyncSerializer <IMemberType> serializer, ISyncTracker <IMemberType> tracker, AppCaches appCaches, ISyncDependencyChecker <IMemberType> checker, SyncFileService syncFileService) : base(entityService, logger, serializer, tracker, appCaches, checker, syncFileService) { this.memberTypeService = memberTypeService; }
public ContentTypeHandler( IEntityService entityService, IProfilingLogger logger, IContentTypeService contentTypeService, ISyncSerializer <IContentType> serializer, ISyncTracker <IContentType> tracker, AppCaches appCaches, ISyncDependencyChecker <IContentType> checker, SyncFileService fileService) : base(entityService, logger, serializer, tracker, appCaches, checker, fileService) { this.contentTypeService = contentTypeService; }