View Source
Class TreeCollectionBuilder
Inheritance
System.Object
Assembly: Umbraco.Web.BackOffice.dll
Syntax
public class TreeCollectionBuilder : ICollectionBuilder<TreeCollection, Tree>
Methods
View Source
AddTree(Tree)
Registers a custom tree definition
Declaration
public void AddTree(Tree treeDefinition)
Parameters
Type |
Name |
Description |
Tree |
treeDefinition |
|
View Source
AddTreeController(Type)
Declaration
public void AddTreeController(Type controllerType)
Parameters
Type |
Name |
Description |
Type |
controllerType |
|
View Source
AddTreeController<TController>()
Declaration
public void AddTreeController<TController>()
where TController : TreeControllerBase
Type Parameters
Name |
Description |
TController |
|
View Source
AddTreeControllers(IEnumerable<Type>)
Declaration
public void AddTreeControllers(IEnumerable<Type> controllerTypes)
Parameters
Type |
Name |
Description |
IEnumerable<Type> |
controllerTypes |
|
View Source
CreateCollection(IServiceProvider)
Declaration
public TreeCollection CreateCollection(IServiceProvider factory)
Parameters
Type |
Name |
Description |
IServiceProvider |
factory |
|
Returns
Type |
Description |
TreeCollection |
|
View Source
RegisterWith(IServiceCollection)
Declaration
public void RegisterWith(IServiceCollection services)
Parameters
Type |
Name |
Description |
Microsoft.Extensions.DependencyInjection.IServiceCollection |
services |
|
View Source
RemoveTree(Tree)
Declaration
public void RemoveTree(Tree treeDefinition)
Parameters
Type |
Name |
Description |
Tree |
treeDefinition |
|
View Source
RemoveTreeController(Type)
Declaration
public void RemoveTreeController(Type type)
Parameters
Type |
Name |
Description |
Type |
type |
|
View Source
RemoveTreeController<T>()
Declaration
public void RemoveTreeController<T>()
where T : TreeControllerBase
Type Parameters
View Source
RemoveTreeControllers(IEnumerable<Type>)
Declaration
public void RemoveTreeControllers(IEnumerable<Type> controllerTypes)
Parameters
Type |
Name |
Description |
IEnumerable<Type> |
controllerTypes |
|