Moves more services and registrations "up", removes AspNetCoreComposer logic and moves to AddWebComponents

This commit is contained in:
Shannon
2020-12-24 14:29:26 +11:00
parent 1328ca3cee
commit e785ac28a3
47 changed files with 402 additions and 429 deletions

View File

@@ -0,0 +1,13 @@
using Microsoft.Extensions.DependencyInjection;
using Umbraco.Core.Composing;
namespace Umbraco.Core.Trees
{
public class SearchableTreeCollectionBuilder : LazyCollectionBuilderBase<SearchableTreeCollectionBuilder, SearchableTreeCollection, ISearchableTree>
{
protected override SearchableTreeCollectionBuilder This => this;
//per request because generally an instance of ISearchableTree is a controller
protected override ServiceLifetime CollectionLifetime => ServiceLifetime.Scoped;
}
}