Search Results for

    Show / Hide Table of Contents
    View Source

    Class StaticFilesTreeController

    Inheritance
    System.Object
    Microsoft.AspNetCore.Mvc.ControllerBase
    UmbracoApiControllerBase
    UmbracoApiController
    UmbracoAuthorizedApiController
    TreeControllerBase
    TreeController
    Namespace: Umbraco.Cms.Web.BackOffice.Trees
    Assembly: Umbraco.Web.BackOffice.dll
    Syntax
    public class StaticFilesTreeController : TreeController, IUmbracoFeature, IDiscoverable, ITree

    Constructors

    View Source

    StaticFilesTreeController(ILocalizedTextService, UmbracoApiControllerTypeCollection, IEventAggregator, IPhysicalFileSystem, IMenuItemCollectionFactory)

    Declaration
    public StaticFilesTreeController(ILocalizedTextService localizedTextService, UmbracoApiControllerTypeCollection umbracoApiControllerTypeCollection, IEventAggregator eventAggregator, IPhysicalFileSystem fileSystem, IMenuItemCollectionFactory menuItemCollectionFactory)
    Parameters
    Type Name Description
    ILocalizedTextService localizedTextService
    UmbracoApiControllerTypeCollection umbracoApiControllerTypeCollection
    IEventAggregator eventAggregator
    IPhysicalFileSystem fileSystem
    IMenuItemCollectionFactory menuItemCollectionFactory

    Methods

    View Source

    GetMenuForNode(String, FormCollection)

    Declaration
    protected override ActionResult<MenuItemCollection> GetMenuForNode(string id, FormCollection queryStrings)
    Parameters
    Type Name Description
    System.String id
    Microsoft.AspNetCore.Http.FormCollection queryStrings
    Returns
    Type Description
    Microsoft.AspNetCore.Mvc.ActionResult<MenuItemCollection>
    View Source

    GetTreeNodes(String, FormCollection)

    Declaration
    protected override ActionResult<TreeNodeCollection> GetTreeNodes(string id, FormCollection queryStrings)
    Parameters
    Type Name Description
    System.String id
    Microsoft.AspNetCore.Http.FormCollection queryStrings
    Returns
    Type Description
    Microsoft.AspNetCore.Mvc.ActionResult<TreeNodeCollection>
    • Improve this Doc
    • View Source
    In This Article
    • Constructors
      • StaticFilesTreeController(ILocalizedTextService, UmbracoApiControllerTypeCollection, IEventAggregator, IPhysicalFileSystem, IMenuItemCollectionFactory)
    • Methods
      • GetMenuForNode(String, FormCollection)
      • GetTreeNodes(String, FormCollection)
    Back to top Copyright © 2016-present Umbraco
    Generated by DocFX