View Source
Class MemberTreeController
Inheritance
System.Object
Microsoft.AspNetCore.Mvc.ControllerBase
Assembly: Umbraco.Web.BackOffice.dll
Syntax
[Authorize(Policy = "SectionAccessForMemberTree")]
[PluginController("UmbracoTrees")]
public class MemberTreeController : TreeController, IUmbracoFeature, ITree, ISearchableTree, IDiscoverable, ITreeNodeController
Constructors
View Source
Declaration
public MemberTreeController(ILocalizedTextService localizedTextService, UmbracoApiControllerTypeCollection umbracoApiControllerTypeCollection, UmbracoTreeSearcher treeSearcher, IMenuItemCollectionFactory menuItemCollectionFactory, IMemberService memberService, IMemberTypeService memberTypeService, IBackOfficeSecurityAccessor backofficeSecurityAccessor, IEventAggregator eventAggregator)
Parameters
Methods
View Source
Declaration
protected override ActionResult<MenuItemCollection> GetMenuForNode(string id, FormCollection queryStrings)
Parameters
Type |
Name |
Description |
System.String |
id |
|
Microsoft.AspNetCore.Http.FormCollection |
queryStrings |
|
Returns
View Source
Declaration
protected ActionResult<TreeNode> GetSingleTreeNode(string id, FormCollection queryStrings)
Parameters
Type |
Name |
Description |
System.String |
id |
|
Microsoft.AspNetCore.Http.FormCollection |
queryStrings |
|
Returns
Type |
Description |
Microsoft.AspNetCore.Mvc.ActionResult<TreeNode> |
|
View Source
Gets an individual tree node
Declaration
public ActionResult<TreeNode> GetTreeNode([FromRoute] string id, [ModelBinder(typeof(HttpQueryStringModelBinder))] FormCollection queryStrings)
Parameters
Type |
Name |
Description |
System.String |
id |
|
Microsoft.AspNetCore.Http.FormCollection |
queryStrings |
|
Returns
Type |
Description |
Microsoft.AspNetCore.Mvc.ActionResult<TreeNode> |
|
View Source
Declaration
protected override ActionResult<TreeNodeCollection> GetTreeNodes(string id, FormCollection queryStrings)
Parameters
Type |
Name |
Description |
System.String |
id |
|
Microsoft.AspNetCore.Http.FormCollection |
queryStrings |
|
Returns
View Source
SearchAsync(String, Int32, Int64, String)
Declaration
public async Task<EntitySearchResults> SearchAsync(string query, int pageSize, long pageIndex, string searchFrom = null)
Parameters
Type |
Name |
Description |
System.String |
query |
|
System.Int32 |
pageSize |
|
System.Int64 |
pageIndex |
|
System.String |
searchFrom |
|
Returns