Class UpgradeSettingsModel
Represents the settings for an upgrade operation, including version information.
Inheritance
object
Namespace: Umbraco.Cms.Core.Models.Installer
Assembly: Umbraco.Core.dll
Syntax
public class UpgradeSettingsModel
Constructors
View SourceUpgradeSettingsModel()
Declaration
public UpgradeSettingsModel()
Properties
View SourceCurrentState
Gets or sets the current state of the installation before upgrade.
Declaration
public string CurrentState { get; set; }
Property Value
| Type | Description |
|---|---|
| string |
NewState
Gets or sets the new state of the installation after upgrade.
Declaration
public string NewState { get; set; }
Property Value
| Type | Description |
|---|---|
| string |
NewVersion
Gets or sets the new version being upgraded to.
Declaration
public SemVersion NewVersion { get; set; }
Property Value
| Type | Description |
|---|---|
| SemVersion |
OldVersion
Gets or sets the old version being upgraded from.
Declaration
public SemVersion OldVersion { get; set; }
Property Value
| Type | Description |
|---|---|
| SemVersion |