C# Класс formulate.app.Trees.Helpers.FolderHelper

Helps with folders in the Formulate tree.
Показать файл Открыть проект Примеры использования класса

Private Properties

Свойство Тип Описание

Открытые методы

Метод Описание
AddCreateFolderAction ( Umbraco.Web.Models.Trees.MenuItemCollection menu ) : void

Adds the "Create Folder" action to the folder's menu.

AddDeleteFolderAction ( Umbraco.Web.Models.Trees.MenuItemCollection menu ) : void

Adds the "Delete Form" action to the menu.

AddFolderToTree ( TreeNodeCollection nodes, FormDataCollection queryStrings, Folder folder, string icon ) : void

Adds a folder node to the tree.

AddMoveFolderAction ( Umbraco.Web.Models.Trees.MenuItemCollection menu, Folder folder ) : void

Adds the "Move" action to the menu.

FolderHelper ( IEntityPersistence persistence, Umbraco.Web.Trees.TreeController tree ) : System.Linq

Primary constructor.

Описание методов

AddCreateFolderAction() публичный Метод

Adds the "Create Folder" action to the folder's menu.
public AddCreateFolderAction ( Umbraco.Web.Models.Trees.MenuItemCollection menu ) : void
menu Umbraco.Web.Models.Trees.MenuItemCollection /// The menu items. ///
Результат void

AddDeleteFolderAction() публичный Метод

Adds the "Delete Form" action to the menu.
public AddDeleteFolderAction ( Umbraco.Web.Models.Trees.MenuItemCollection menu ) : void
menu Umbraco.Web.Models.Trees.MenuItemCollection /// The menu items to add the action to. ///
Результат void

AddFolderToTree() публичный Метод

Adds a folder node to the tree.
public AddFolderToTree ( TreeNodeCollection nodes, FormDataCollection queryStrings, Folder folder, string icon ) : void
nodes TreeNodeCollection The tree nodes to add to.
queryStrings FormDataCollection The query string.
folder Folder The folder.
icon string The folder's icon.
Результат void

AddMoveFolderAction() публичный Метод

Adds the "Move" action to the menu.
public AddMoveFolderAction ( Umbraco.Web.Models.Trees.MenuItemCollection menu, Folder folder ) : void
menu Umbraco.Web.Models.Trees.MenuItemCollection /// The menu items to add the action to. ///
folder Folder /// The folder. ///
Результат void

FolderHelper() публичный Метод

Primary constructor.
public FolderHelper ( IEntityPersistence persistence, Umbraco.Web.Trees.TreeController tree ) : System.Linq
persistence IEntityPersistence /// The entity persistence. ///
tree Umbraco.Web.Trees.TreeController /// The tree controller. ///
Результат System.Linq