renames ApplicationTree to just Tree

This commit is contained in:
Shannon
2019-01-17 17:33:38 +11:00
parent 1a734141f1
commit 356209e013
10 changed files with 27 additions and 27 deletions

View File

@@ -4,15 +4,15 @@ using Umbraco.Core.Composing;
namespace Umbraco.Web.Trees
{
//fixme - how will we allow users to modify these items? they will need to be able to change the ApplicationTree's registered (i.e. sort order, section)
public class TreeCollectionBuilder : CollectionBuilderBase<TreeCollectionBuilder, TreeCollection, ApplicationTree>
public class TreeCollectionBuilder : CollectionBuilderBase<TreeCollectionBuilder, TreeCollection, Tree>
{
private readonly List<ApplicationTree> _instances = new List<ApplicationTree>();
private readonly List<Tree> _instances = new List<Tree>();
public void AddTree(ApplicationTree tree)
public void AddTree(Tree tree)
{
_instances.Add(tree);
}
protected override IEnumerable<ApplicationTree> CreateItems(IFactory factory) => _instances;
protected override IEnumerable<Tree> CreateItems(IFactory factory) => _instances;
}
}