protected ContentMigrationController(ISitecoreAccessService sitecore, IScsRegistrationService registration, IContentMigrationManagerService migrationManager, IRemoteContentService remoteContent) { _sitecore = sitecore; _registration = registration; _migrationManager = migrationManager; _remoteContent = remoteContent; }
public ContentMigrationController() { _sitecore = Bootstrap.Container.Resolve <ISitecoreAccessService>(); _registration = Bootstrap.Container.Resolve <IScsRegistrationService>(); _migrationManager = Bootstrap.Container.Resolve <IContentMigrationManagerService>(); _remoteContent = Bootstrap.Container.Resolve <IRemoteContentService>(); }
public ContentMigrationController() { _sitecore = Bootstrap.Container.Resolve <ISitecoreDataAccessService>(); _registration = Bootstrap.Container.Resolve <IScsRegistrationService>(); _migrationManager = Bootstrap.Container.Resolve <IContentMigrationManagerService>(); _remoteContent = Bootstrap.Container.Resolve <IRemoteContentService>(); _yamlSerializationService = Bootstrap.Container.Resolve <IYamlSerializationService>(); _checksumManager = Bootstrap.Container.Resolve <IChecksumManager>(); }
public ContentAgent(string remoteServer, string rootIds, string database, string bulkUpdate, string children, string overwrite, string eventDisabler, string pullParent, string removeLocalNotInRemote, IContentMigrationManagerService migrationManager) { _args = new PullItemModel() { Server = remoteServer, Ids = new List <string>(rootIds.Split(',')), Database = database, BulkUpdate = bulkUpdate.ToLower() == "true", Children = children.ToLower() == "true", Overwrite = overwrite.ToLower() == "true", EventDisabler = eventDisabler.ToLower() == "true", PullParent = pullParent.ToLower() == "true", RemoveLocalNotInRemote = removeLocalNotInRemote.ToLower() == "true", Preview = false }; _migrationManager = migrationManager; }
public ContentAgent(string remoteServer, string rootIds, string database, string bulkUpdate, string children, string overwrite, string eventDisabler, string pullParent, string removeLocalNotInRemote, string ignoreRevId = "false", string useItemBlaster = "true") { _args = new PullItemModel() { Server = remoteServer, Ids = new List <string>(rootIds.Split(',')), Database = database, BulkUpdate = bulkUpdate.ToLower() == "true", Children = children.ToLower() == "true", Overwrite = overwrite.ToLower() == "true", EventDisabler = eventDisabler.ToLower() == "true", PullParent = pullParent.ToLower() == "true", RemoveLocalNotInRemote = removeLocalNotInRemote.ToLower() == "true", Preview = false, IgnoreRevId = ignoreRevId.ToLower() == "true", UseItemBlaster = useItemBlaster.ToLower() == "true" }; _migrationManager = Bootstrap.Container.Resolve <IContentMigrationManagerService>(); }