Class InstallService
Inheritance
System.Object
Namespace: Umbraco.Cms.Core.Services.Installer
Assembly: Umbraco.Core.dll
Syntax
public class InstallService : IInstallService
Constructors
View SourceInstallService(ILogger<InstallService>, NewInstallStepCollection, IRuntimeState)
Declaration
public InstallService(ILogger<InstallService> logger, NewInstallStepCollection installSteps, IRuntimeState runtimeState)
Parameters
| Type | Name | Description |
|---|---|---|
| ILogger<InstallService> | logger | |
| NewInstallStepCollection | installSteps | |
| IRuntimeState | runtimeState |
Methods
View SourceInstallAsync(InstallData)
Runs all the steps in the NewInstallStepCollection, installing Umbraco
Declaration
public async Task<Attempt<InstallationResult, InstallOperationStatus>> InstallAsync(InstallData model)
Parameters
| Type | Name | Description |
|---|---|---|
| InstallData | model | InstallData containing the required data used to install |
Returns
| Type | Description |
|---|---|
| Task<Attempt<InstallationResult, InstallOperationStatus>> |