View Source
Class PackageMigrationRunner
Runs the package migration plans
Inheritance
System.Object
Assembly: Umbraco.Infrastructure.dll
Syntax
public class PackageMigrationRunner
Constructors
View Source
PackageMigrationRunner(IProfilingLogger, ICoreScopeProvider, PendingPackageMigrations, PackageMigrationPlanCollection, IMigrationPlanExecutor, IKeyValueService, IEventAggregator)
Declaration
public PackageMigrationRunner(IProfilingLogger profilingLogger, ICoreScopeProvider scopeProvider, PendingPackageMigrations pendingPackageMigrations, PackageMigrationPlanCollection packageMigrationPlans, IMigrationPlanExecutor migrationPlanExecutor, IKeyValueService keyValueService, IEventAggregator eventAggregator)
Parameters
Methods
View Source
RunPackageMigrationsIfPending(String)
Runs all migration plans for a package name if any are pending.
Declaration
public IEnumerable<ExecutedMigrationPlan> RunPackageMigrationsIfPending(string packageName)
Parameters
Type |
Name |
Description |
System.String |
packageName |
|
Returns
View Source
RunPackagePlans(IEnumerable<String>)
Declaration
public IEnumerable<ExecutedMigrationPlan> RunPackagePlans(IEnumerable<string> plansToRun)
Parameters
Type |
Name |
Description |
IEnumerable<System.String> |
plansToRun |
|
Returns