Class MigrationPlan.Transition
Represents a plan transition.
Inheritance
System.Object
Namespace: Umbraco.Cms.Infrastructure.Migrations
Assembly: Umbraco.Infrastructure.dll
Syntax
public class Transition
Constructors
View SourceTransition(String, String, Type)
Initializes a new instance of the MigrationPlan.Transition class.
Declaration
public Transition(string sourceState, string targetState, Type migrationTtype)
Parameters
Type | Name | Description |
---|---|---|
System.String | sourceState | |
System.String | targetState | |
Type | migrationTtype |
Properties
View SourceMigrationType
Gets the migration type.
Declaration
public Type MigrationType { get; }
Property Value
Type | Description |
---|---|
Type |
SourceState
Gets the source state.
Declaration
public string SourceState { get; }
Property Value
Type | Description |
---|---|
System.String |
TargetState
Gets the target state.
Declaration
public string TargetState { get; }
Property Value
Type | Description |
---|---|
System.String |
Methods
View SourceToString()
Declaration
public override string ToString()
Returns
Type | Description |
---|---|
System.String |