Class UmbracoPlan
Represents the Umbraco CMS migration plan.
Namespace: Umbraco.Cms.Infrastructure.Migrations.Upgrade
Assembly: Umbraco.Infrastructure.dll
Syntax
public class UmbracoPlan : MigrationPlan
Constructors
View SourceUmbracoPlan(IUmbracoVersion)
Initializes a new instance of the UmbracoPlan class.
Declaration
public UmbracoPlan(IUmbracoVersion umbracoVersion)
Parameters
Type | Name | Description |
---|---|---|
IUmbracoVersion | umbracoVersion | The Umbraco version. |
Properties
View SourceInitialState
Gets the initial state.
Declaration
public override string InitialState { get; }
Property Value
Type | Description |
---|---|
System.String |
Remarks
This is set to the final migration state of 9.4, making that the lowest supported version to upgrade from.
Methods
View SourceDefinePlan()
Defines the plan.
Declaration
protected virtual void DefinePlan()
Remarks
This is virtual for testing purposes.