Class MigrationPlanExecutor
Inheritance
System.Object
Namespace: Umbraco.Cms.Infrastructure.Migrations
Assembly: cs.temp.dll.dll
Syntax
public class MigrationPlanExecutor : IMigrationPlanExecutor
Constructors
MigrationPlanExecutor(IScopeProvider, ILoggerFactory, IMigrationBuilder)
Declaration
public MigrationPlanExecutor(IScopeProvider scopeProvider, ILoggerFactory loggerFactory, IMigrationBuilder migrationBuilder)
Parameters
Type | Name | Description |
---|---|---|
IScopeProvider | scopeProvider | |
ILoggerFactory | loggerFactory | |
IMigrationBuilder | migrationBuilder |
Methods
Execute(MigrationPlan, String)
Executes the plan.
Declaration
public string Execute(MigrationPlan plan, string fromState)
Parameters
Type | Name | Description |
---|---|---|
MigrationPlan | plan | |
System.String | fromState | The state to start execution at. |
Returns
Type | Description |
---|---|
System.String | The final state. |
Remarks
The plan executes within the scope, which must then be completed.