Netcore: Moves services and dependencies from Web to Abstractions (#7497)

* Moves the services and dependencies from web,

* Fix bug with Empty collection not being a property (new one for each access)

* remvoed moved files from web csproj

* Fix spelling
This commit is contained in:
Bjarke Berg
2020-01-27 09:31:24 +01:00
committed by Elitsa Marinovska
parent 09b9c01f94
commit 3b7825b30d
24 changed files with 14 additions and 87 deletions

View File

@@ -326,7 +326,7 @@ namespace Umbraco.Web.Trees
private void AddActionNode<TAction>(IUmbracoEntity item, MenuItemCollection menu, bool hasSeparator = false, bool opensDialog = false)
where TAction : IAction
{
var menuItem = menu.Items.Add<TAction>(Services.TextService.Localize("actions", _actions.GetAction<TAction>().Alias), hasSeparator, opensDialog);
var menuItem = menu.Items.Add<TAction>(Services.TextService, hasSeparator, opensDialog);
}
public IEnumerable<SearchResultEntity> Search(string query, int pageSize, long pageIndex, out long totalFound, string searchFrom = null)