Class UpgradeService
Inheritance
System.Object
Namespace: Umbraco.Cms.Core.Services.Installer
Assembly: Umbraco.Core.dll
Syntax
public class UpgradeService : IUpgradeService
Constructors
View SourceUpgradeService(UpgradeStepCollection, IRuntimeState, ILogger<UpgradeService>)
Declaration
public UpgradeService(UpgradeStepCollection upgradeSteps, IRuntimeState runtimeState, ILogger<UpgradeService> logger)
Parameters
| Type | Name | Description |
|---|---|---|
| UpgradeStepCollection | upgradeSteps | |
| IRuntimeState | runtimeState | |
| ILogger<UpgradeService> | logger |
Methods
View SourceUpgradeAsync()
Runs all the steps in the UpgradeStepCollection, upgrading Umbraco.
Declaration
public async Task<Attempt<InstallationResult, UpgradeOperationStatus>> UpgradeAsync()
Returns
| Type | Description |
|---|---|
| Task<Attempt<InstallationResult, UpgradeOperationStatus>> |