View Source
Class UmbracoBuilderExtensions
Extension methods for for the common Umbraco functionality
Inheritance
System.Object
Assembly: Umbraco.Web.BackOffice.dll
Syntax
public static class UmbracoBuilderExtensions
Methods
View Source
AddModelsBuilderDashboard(IUmbracoBuilder)
Adds the ModelsBuilder dashboard (dashboard and API controller are automatically added).
Declaration
public static IUmbracoBuilder AddModelsBuilderDashboard(this IUmbracoBuilder builder)
Parameters
Type |
Name |
Description |
IUmbracoBuilder |
builder |
|
Returns
Type |
Description |
IUmbracoBuilder |
|
View Source
DisableModelsBuilderControllers(IUmbracoBuilder)
Can be called if using an external models builder to remove the embedded models builder controller features.
Declaration
public static IUmbracoBuilder DisableModelsBuilderControllers(this IUmbracoBuilder builder)
Parameters
Type |
Name |
Description |
IUmbracoBuilder |
builder |
|
Returns
Type |
Description |
IUmbracoBuilder |
|
View Source
RemoveModelsBuilderDashboard(IUmbracoBuilder)
Removes the ModelsBuilder dashboard (and API controller).
Declaration
public static IUmbracoBuilder RemoveModelsBuilderDashboard(this IUmbracoBuilder builder)
Parameters
Type |
Name |
Description |
IUmbracoBuilder |
builder |
|
Returns
Type |
Description |
IUmbracoBuilder |
|