Table of Contents

Class MemberGroupTreeController

Namespace
Umbraco.Cms.Web.BackOffice.Trees
Assembly
Umbraco.Web.BackOffice.dll
[Authorize(Policy = "TreeAccessMemberGroups")]
[Tree("member", "memberGroups", SortOrder = 1)]
public class MemberGroupTreeController : MemberTypeAndGroupTreeControllerBase, ITree
Inheritance
MemberGroupTreeController
Implements
ITree
Inherited Members

Constructors

MemberGroupTreeController(ILocalizedTextService, UmbracoApiControllerTypeCollection, IMenuItemCollectionFactory, IMemberGroupService, IEventAggregator)

[Obsolete("Use ctor with all params")]
public MemberGroupTreeController(ILocalizedTextService localizedTextService, UmbracoApiControllerTypeCollection umbracoApiControllerTypeCollection, IMenuItemCollectionFactory menuItemCollectionFactory, IMemberGroupService memberGroupService, IEventAggregator eventAggregator)

Parameters

localizedTextService ILocalizedTextService
umbracoApiControllerTypeCollection UmbracoApiControllerTypeCollection
menuItemCollectionFactory IMenuItemCollectionFactory
memberGroupService IMemberGroupService
eventAggregator IEventAggregator

MemberGroupTreeController(ILocalizedTextService, UmbracoApiControllerTypeCollection, IMenuItemCollectionFactory, IMemberGroupService, IEventAggregator, IMemberTypeService)

[ActivatorUtilitiesConstructor]
public MemberGroupTreeController(ILocalizedTextService localizedTextService, UmbracoApiControllerTypeCollection umbracoApiControllerTypeCollection, IMenuItemCollectionFactory menuItemCollectionFactory, IMemberGroupService memberGroupService, IEventAggregator eventAggregator, IMemberTypeService memberTypeService)

Parameters

localizedTextService ILocalizedTextService
umbracoApiControllerTypeCollection UmbracoApiControllerTypeCollection
menuItemCollectionFactory IMenuItemCollectionFactory
memberGroupService IMemberGroupService
eventAggregator IEventAggregator
memberTypeService IMemberTypeService

Methods

CreateRootNode(FormCollection)

protected override ActionResult<TreeNode?> CreateRootNode(FormCollection queryStrings)

Parameters

queryStrings FormCollection

Returns

ActionResult<TreeNode>

GetTreeNodesFromService(string, FormCollection)

protected override IEnumerable<TreeNode> GetTreeNodesFromService(string id, FormCollection queryStrings)

Parameters

id string
queryStrings FormCollection

Returns

IEnumerable<TreeNode>