Class MigrationManager

Inheritance
System.Object
MigrationManager
Inherited Members
System.Object.ToString()
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
Namespace: EPiServer.Commerce.Internal.Migration
Assembly: EPiServer.Commerce.Internal.Migration.dll
Version: 10.8.0
Syntax
public class MigrationManager

Constructors

MigrationManager(MigrationStore, MigrateActionUrlResolver)

Declaration
public MigrationManager(MigrationStore migrationStore, MigrateActionUrlResolver migrateActionUrlResolver)
Parameters
Type Name Description
MigrationStore migrationStore
MigrateActionUrlResolver migrateActionUrlResolver

Properties

HttpContextBase

Declaration
public virtual HttpContextBase HttpContextBase { get; set; }
Property Value
Type Description
System.Web.HttpContextBase

MigrationSteps

Declaration
public virtual IEnumerable<IMigrationStep> MigrationSteps { get; set; }
Property Value
Type Description
System.Collections.Generic.IEnumerable<IMigrationStep>

ProgressMessenger

Declaration
public virtual MigrationProgressMessenger ProgressMessenger { get; set; }
Property Value
Type Description
MigrationProgressMessenger

Status

Declaration
public virtual MigrationStatus Status { get; set; }
Property Value
Type Description
MigrationStatus

Methods

GetControllerPath(String)

Declaration
public virtual string GetControllerPath(string action)
Parameters
Type Name Description
System.String action
Returns
Type Description
System.String

Migrate()

Declaration
public virtual void Migrate()

MigrateAsync()

Declaration
public virtual void MigrateAsync()

RedirectToMigrationView()

Declaration
public virtual void RedirectToMigrationView()

ResetMigrationSteps()

Declaration
public void ResetMigrationSteps()

ShouldRedirect(String, String, String, String)

Declaration
public bool ShouldRedirect(string loginPath, string redirectPath, string currentPath, string referrerPath)
Parameters
Type Name Description
System.String loginPath
System.String redirectPath
System.String currentPath
System.String referrerPath
Returns
Type Description
System.Boolean

SiteNeedsToBeMigrated()

Declaration
public virtual bool SiteNeedsToBeMigrated()
Returns
Type Description
System.Boolean