View Source
Class InstallApiController
Inheritance
System.Object
Microsoft.AspNetCore.Mvc.ControllerBase
Assembly: Umbraco.Web.BackOffice.dll
Syntax
[AngularJsonOnlyConfiguration]
[InstallAuthorize]
public class InstallApiController : ControllerBase
Constructors
View Source
InstallApiController(DatabaseBuilder, IProfilingLogger, ILogger<InstallApiController>, InstallHelper, InstallStepCollection, InstallStatusTracker, IRuntime)
Declaration
[ActivatorUtilitiesConstructor]
public InstallApiController(DatabaseBuilder databaseBuilder, IProfilingLogger proflog, ILogger<InstallApiController> logger, InstallHelper installHelper, InstallStepCollection installSteps, InstallStatusTracker installStatusTracker, IRuntime runtime)
Parameters
| Type |
Name |
Description |
| DatabaseBuilder |
databaseBuilder |
|
| IProfilingLogger |
proflog |
|
| Microsoft.Extensions.Logging.ILogger<InstallApiController> |
logger |
|
| InstallHelper |
installHelper |
|
| InstallStepCollection |
installSteps |
|
| InstallStatusTracker |
installStatusTracker |
|
| IRuntime |
runtime |
|
View Source
InstallApiController(DatabaseBuilder, IProfilingLogger, ILogger<InstallApiController>, InstallHelper, InstallStepCollection, InstallStatusTracker, IRuntime, IBackOfficeUserManager, IBackOfficeSignInManager)
Declaration
public InstallApiController(DatabaseBuilder databaseBuilder, IProfilingLogger proflog, ILogger<InstallApiController> logger, InstallHelper installHelper, InstallStepCollection installSteps, InstallStatusTracker installStatusTracker, IRuntime runtime, IBackOfficeUserManager backOfficeUserManager, IBackOfficeSignInManager backOfficeSignInManager)
Parameters
| Type |
Name |
Description |
| DatabaseBuilder |
databaseBuilder |
|
| IProfilingLogger |
proflog |
|
| Microsoft.Extensions.Logging.ILogger<InstallApiController> |
logger |
|
| InstallHelper |
installHelper |
|
| InstallStepCollection |
installSteps |
|
| InstallStatusTracker |
installStatusTracker |
|
| IRuntime |
runtime |
|
| IBackOfficeUserManager |
backOfficeUserManager |
|
| IBackOfficeSignInManager |
backOfficeSignInManager |
|
Methods
View Source
CompleteInstall()
Declaration
[HttpPost]
public async Task<ActionResult> CompleteInstall()
Returns
| Type |
Description |
| Task<Microsoft.AspNetCore.Mvc.ActionResult> |
|
View Source
GetSetup()
Declaration
public InstallSetup GetSetup()
Returns
| Type |
Description |
| InstallSetup |
|
View Source
PostPerformInstall(InstallInstructions)
Declaration
public async Task<ActionResult<InstallProgressResultModel>> PostPerformInstall(InstallInstructions installModel)
Parameters
| Type |
Name |
Description |
| InstallInstructions |
installModel |
|
Returns
| Type |
Description |
| Task<Microsoft.AspNetCore.Mvc.ActionResult<InstallProgressResultModel>> |
|
View Source
PostValidateDatabaseConnection(DatabaseModel)
Declaration
public bool PostValidateDatabaseConnection(DatabaseModel databaseSettings)
Parameters
| Type |
Name |
Description |
| DatabaseModel |
databaseSettings |
|
Returns
| Type |
Description |
| System.Boolean |
|