protected SyncHandlerLevelBase( 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, AppCaches appCaches, ISyncSerializer <TObject> serializer, ISyncItemFactory syncItemFactory, SyncFileService syncFileService) : base(logger, appCaches, serializer, syncItemFactory, syncFileService) { this.entityService = entityService; }
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( IContentService contentService, IEntityService entityService, IProfilingLogger logger, AppCaches appCaches, ContentTemplateSerializer serializer, // concreate because we want to make sure we get the blueprint one. ISyncItemFactory syncItemFactory, SyncFileService syncFileService) : base(entityService, logger, appCaches, serializer, syncItemFactory, syncFileService) { this.contentService = contentService; }
/// <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 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 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; }
/// <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) { }
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; }
/// <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 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 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; }
public ContentHandler( IContentService contentService, IEntityService entityService, IProfilingLogger logger, AppCaches appCaches, ISyncSerializer <IContent> serializer, ISyncItemFactory syncItemFactory, SyncFileService syncFileService) : base(entityService, logger, appCaches, serializer, syncItemFactory, syncFileService) { this.contentService = contentService; performDoubleLookup = UmbracoVersion.LocalVersion.Major != 8 || UmbracoVersion.LocalVersion.Minor < 4; }
/// <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; }
public DataSourceHandler(IProfilingLogger logger, SyncFormService syncFormService, IDataSourceStorage dataSourceStorage, IDataSourceService dataSourceService, AppCaches appCaches, ISyncSerializer <FormDataSource> serializer, ISyncItemFactory itemFactory, SyncFileService syncFileService) : base(logger, appCaches, serializer, itemFactory, syncFileService) { this.syncFormService = syncFormService; this.dataSourceService = dataSourceService; this.dataSourceStorage = dataSourceStorage; }
/// <inheritdoc/> public RelationTypeHandler( ILogger <RelationTypeHandler> logger, IEntityService entityService, IRelationService relationService, AppCaches appCaches, IShortStringHelper shortStringHelper, SyncFileService syncFileService, uSyncEventService mutexService, uSyncConfigService uSyncConfigService, ISyncItemFactory syncItemFactory) : base(logger, entityService, appCaches, shortStringHelper, syncFileService, mutexService, uSyncConfigService, syncItemFactory) { this.relationService = relationService; }
/// <summary> /// Constructor - loaded via DI /// </summary> public ContentTypeHandler( ILogger <ContentTypeHandler> logger, IEntityService entityService, IContentTypeService contentTypeService, AppCaches appCaches, IShortStringHelper shortStringHelper, SyncFileService syncFileService, uSyncEventService mutexService, uSyncConfigService uSyncConfig, ISyncItemFactory syncItemFactory) : base(logger, entityService, appCaches, shortStringHelper, syncFileService, mutexService, uSyncConfig, syncItemFactory) { this.contentTypeService = contentTypeService; }
/// <inheritdoc/> public DictionaryHandler( ILogger <DictionaryHandler> logger, IEntityService entityService, ILocalizationService localizationService, AppCaches appCaches, IShortStringHelper shortStringHelper, SyncFileService syncFileService, uSyncEventService mutexService, uSyncConfigService uSyncConfigService, ISyncItemFactory syncItemFactory) : base(logger, entityService, appCaches, shortStringHelper, syncFileService, mutexService, uSyncConfigService, syncItemFactory) { this.localizationService = localizationService; }
/// <inheritdoc/> public MediaHandler( ILogger <MediaHandler> logger, IEntityService entityService, IMediaService mediaService, AppCaches appCaches, IShortStringHelper shortStringHelper, SyncFileService syncFileService, uSyncEventService mutexService, uSyncConfigService uSyncConfigService, ISyncItemFactory syncItemFactory) : base(logger, entityService, appCaches, shortStringHelper, syncFileService, mutexService, uSyncConfigService, syncItemFactory) { this.mediaService = mediaService; }
/// <inheritdoc/> public TemplateHandler( ILogger <TemplateHandler> logger, IEntityService entityService, IFileService fileService, AppCaches appCaches, IShortStringHelper shortStringHelper, SyncFileService syncFileService, uSyncEventService mutexService, uSyncConfigService uSyncConfig, ISyncItemFactory syncItemFactory) : base(logger, entityService, appCaches, shortStringHelper, syncFileService, mutexService, uSyncConfig, syncItemFactory) { this.fileService = fileService; }
/// <inheritdoc/> public DomainHandler( ILogger <DomainHandler> logger, IEntityService entityService, IDomainService domainService, AppCaches appCaches, IShortStringHelper shortStringHelper, SyncFileService syncFileService, uSyncEventService mutexService, uSyncConfigService configService, ISyncItemFactory syncItemFactory) : base(logger, entityService, appCaches, shortStringHelper, syncFileService, mutexService, configService, syncItemFactory) { this.domainService = domainService; }
public PreValueHandler(IProfilingLogger logger, SyncFormService syncFormService, IPrevalueSourceService prevalueSourceService, IPrevalueSourceStorage prevalueSourceStorage, AppCaches appCaches, ISyncSerializer <FieldPreValueSource> serializer, ISyncItemFactory itemFactory, SyncFileService syncFileService) : base(logger, appCaches, serializer, itemFactory, syncFileService) { this.syncFormService = syncFormService; this.prevalueSourceService = prevalueSourceService; this.prevalueSourceStorage = prevalueSourceStorage; }
public FormHandler(IProfilingLogger logger, SyncFormService syncFormService, IFormService formService, IFormStorage formStorage, AppCaches appCaches, ISyncSerializer <Form> serializer, ISyncItemFactory itemFactory, SyncFileService syncFileService) : base(logger, appCaches, serializer, itemFactory, syncFileService) { this.syncFormService = syncFormService; this.formService = formService; this.formStorage = formStorage; }
/// <summary> /// Constructor, called via DI /// </summary> public ContentHandler( ILogger <ContentHandler> logger, IEntityService entityService, IContentService contentService, AppCaches appCaches, IShortStringHelper shortStringHelper, SyncFileService syncFileService, uSyncEventService mutexService, uSyncConfigService uSyncConfigService, ISyncItemFactory syncItemFactory) : base(logger, entityService, appCaches, shortStringHelper, syncFileService, mutexService, uSyncConfigService, syncItemFactory) { this.contentService = contentService; // make sure we get the default content serializer (not just the first one that loads) this.serializer = syncItemFactory.GetSerializer <IContent>("ContentSerializer"); }
/// <summary> /// Handler constrcutor Loaded via DI /// </summary> public ContentTemplateHandler( ILogger <ContentTemplateHandler> logger, IEntityService entityService, IContentService contentService, AppCaches appCaches, IShortStringHelper shortStringHelper, SyncFileService syncFileService, uSyncEventService mutexService, uSyncConfigService uSyncConfigService, ISyncItemFactory syncItemFactory) : base(logger, entityService, appCaches, shortStringHelper, syncFileService, mutexService, uSyncConfigService, syncItemFactory) { this.contentService = contentService; // make sure we load up the template serializer - because we need that one, not the normal content one. this.serializer = syncItemFactory.GetSerializer <IContent>("contentTemplateSerializer"); }