View Source
Class ModelsBuilderDashboardController
API controller for use in the Umbraco back office with Angular resources
Inheritance
System.Object
Microsoft.AspNetCore.Mvc.ControllerBase
Assembly: Umbraco.Web.BackOffice.dll
Syntax
[Authorize(Policy = "SectionAccessSettings")]
public class ModelsBuilderDashboardController : UmbracoAuthorizedJsonController
Constructors
View Source
ModelsBuilderDashboardController(IOptions<ModelsBuilderSettings>, IModelsGenerator, OutOfDateModelsStatus, ModelsGenerationError)
Declaration
[ActivatorUtilitiesConstructor]
public ModelsBuilderDashboardController(IOptions<ModelsBuilderSettings> config, IModelsGenerator modelsGenerator, OutOfDateModelsStatus outOfDateModels, ModelsGenerationError mbErrors)
Parameters
Type |
Name |
Description |
Microsoft.Extensions.Options.IOptions<ModelsBuilderSettings> |
config |
|
IModelsGenerator |
modelsGenerator |
|
OutOfDateModelsStatus |
outOfDateModels |
|
ModelsGenerationError |
mbErrors |
|
View Source
ModelsBuilderDashboardController(IOptions<ModelsBuilderSettings>, ModelsGenerator, IModelsGenerator, OutOfDateModelsStatus, ModelsGenerationError)
Declaration
[Browsable(false)]
public ModelsBuilderDashboardController(IOptions<ModelsBuilderSettings> config, ModelsGenerator concreteModelGenerator, IModelsGenerator modelsGenerator, OutOfDateModelsStatus outOfDateModels, ModelsGenerationError mbErrors)
Parameters
Type |
Name |
Description |
Microsoft.Extensions.Options.IOptions<ModelsBuilderSettings> |
config |
|
ModelsGenerator |
concreteModelGenerator |
|
IModelsGenerator |
modelsGenerator |
|
OutOfDateModelsStatus |
outOfDateModels |
|
ModelsGenerationError |
mbErrors |
|
View Source
ModelsBuilderDashboardController(IOptions<ModelsBuilderSettings>, ModelsGenerator, OutOfDateModelsStatus, ModelsGenerationError)
Declaration
[Browsable(false)]
public ModelsBuilderDashboardController(IOptions<ModelsBuilderSettings> config, ModelsGenerator modelsGenerator, OutOfDateModelsStatus outOfDateModels, ModelsGenerationError mbErrors)
Parameters
Type |
Name |
Description |
Microsoft.Extensions.Options.IOptions<ModelsBuilderSettings> |
config |
|
ModelsGenerator |
modelsGenerator |
|
OutOfDateModelsStatus |
outOfDateModels |
|
ModelsGenerationError |
mbErrors |
|
Methods
View Source
BuildModels()
Declaration
[HttpPost]
public IActionResult BuildModels()
Returns
Type |
Description |
Microsoft.AspNetCore.Mvc.IActionResult |
|
View Source
GetDashboard()
Declaration
[HttpGet]
public ActionResult<ModelsBuilderDashboardController.Dashboard> GetDashboard()
Returns
View Source
GetModelsOutOfDateStatus()
Declaration
[HttpGet]
public ActionResult<ModelsBuilderDashboardController.OutOfDateStatus> GetModelsOutOfDateStatus()
Returns