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
localizedTextServiceILocalizedTextServiceumbracoApiControllerTypeCollectionUmbracoApiControllerTypeCollectionmenuItemCollectionFactoryIMenuItemCollectionFactorymemberGroupServiceIMemberGroupServiceeventAggregatorIEventAggregator
MemberGroupTreeController(ILocalizedTextService, UmbracoApiControllerTypeCollection, IMenuItemCollectionFactory, IMemberGroupService, IEventAggregator, IMemberTypeService)
[ActivatorUtilitiesConstructor]
public MemberGroupTreeController(ILocalizedTextService localizedTextService, UmbracoApiControllerTypeCollection umbracoApiControllerTypeCollection, IMenuItemCollectionFactory menuItemCollectionFactory, IMemberGroupService memberGroupService, IEventAggregator eventAggregator, IMemberTypeService memberTypeService)
Parameters
localizedTextServiceILocalizedTextServiceumbracoApiControllerTypeCollectionUmbracoApiControllerTypeCollectionmenuItemCollectionFactoryIMenuItemCollectionFactorymemberGroupServiceIMemberGroupServiceeventAggregatorIEventAggregatormemberTypeServiceIMemberTypeService
Methods
CreateRootNode(FormCollection)
protected override ActionResult<TreeNode?> CreateRootNode(FormCollection queryStrings)
Parameters
queryStringsFormCollection
Returns
- ActionResult<TreeNode>
GetTreeNodesFromService(string, FormCollection)
protected override IEnumerable<TreeNode> GetTreeNodesFromService(string id, FormCollection queryStrings)
Parameters
idstringqueryStringsFormCollection
Returns
- IEnumerable<TreeNode>