View Source
Class MemberGroupTreeController
Inheritance
System.Object
Microsoft.AspNetCore.Mvc.ControllerBase
Assembly: Umbraco.Web.BackOffice.dll
Syntax
[Authorize(Policy = "TreeAccessMemberGroups")]
public class MemberGroupTreeController : MemberTypeAndGroupTreeControllerBase
Constructors
View Source
Declaration
public MemberGroupTreeController(ILocalizedTextService localizedTextService, UmbracoApiControllerTypeCollection umbracoApiControllerTypeCollection, IMenuItemCollectionFactory menuItemCollectionFactory, IMemberGroupService memberGroupService, IEventAggregator eventAggregator)
Parameters
Type |
Name |
Description |
ILocalizedTextService |
localizedTextService |
|
UmbracoApiControllerTypeCollection |
umbracoApiControllerTypeCollection |
|
IMenuItemCollectionFactory |
menuItemCollectionFactory |
|
IMemberGroupService |
memberGroupService |
|
IEventAggregator |
eventAggregator |
|
View Source
Declaration
[ActivatorUtilitiesConstructor]
public MemberGroupTreeController(ILocalizedTextService localizedTextService, UmbracoApiControllerTypeCollection umbracoApiControllerTypeCollection, IMenuItemCollectionFactory menuItemCollectionFactory, IMemberGroupService memberGroupService, IEventAggregator eventAggregator, IMemberTypeService memberTypeService)
Parameters
Type |
Name |
Description |
ILocalizedTextService |
localizedTextService |
|
UmbracoApiControllerTypeCollection |
umbracoApiControllerTypeCollection |
|
IMenuItemCollectionFactory |
menuItemCollectionFactory |
|
IMemberGroupService |
memberGroupService |
|
IEventAggregator |
eventAggregator |
|
IMemberTypeService |
memberTypeService |
|
Methods
View Source
Declaration
protected override ActionResult<TreeNode?> CreateRootNode(FormCollection queryStrings)
Parameters
Type |
Name |
Description |
Microsoft.AspNetCore.Http.FormCollection |
queryStrings |
|
Returns
Type |
Description |
Microsoft.AspNetCore.Mvc.ActionResult<System.Nullable<TreeNode>> |
|
View Source
Declaration
protected override IEnumerable<TreeNode> GetTreeNodesFromService(string id, FormCollection queryStrings)
Parameters
Type |
Name |
Description |
System.String |
id |
|
Microsoft.AspNetCore.Http.FormCollection |
queryStrings |
|
Returns
Type |
Description |
IEnumerable<TreeNode> |
|