C# Class formulate.app.Trees.Helpers.DataValueHelper

Helps with data values in the Formulate tree.
Afficher le fichier Open project: rhythmagency/formulate

Private Properties

Свойство Type Description

Méthodes publiques

Méthode Description
AddChildrenToTree ( TreeNodeCollection nodes, FormDataCollection queryStrings, IEnumerable entities ) : void

Adds the specified data value entities (data value or folder) to the tree.

AddCreateAction ( Umbraco.Web.Models.Trees.MenuItemCollection menu, System.Guid entityId = null ) : void

Adds the "Create Data Value" action with the specified ID used as the parent for the data value that is created.

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

Adds the "Delete Data Value" action to the data value node.

AddMoveDataValueAction ( Umbraco.Web.Models.Trees.MenuItemCollection menu, DataValue dataValue ) : void

Adds the "Move" action to the menu.

AddToTree ( TreeNodeCollection nodes, FormDataCollection queryStrings, DataValue dataValue ) : void

Adds a data value node to the tree.

DataValueHelper ( Umbraco.Web.Trees.TreeController tree, FolderHelper helper ) : System

Primary constructor.

Method Details

AddChildrenToTree() public méthode

Adds the specified data value entities (data value or folder) to the tree.
public AddChildrenToTree ( TreeNodeCollection nodes, FormDataCollection queryStrings, IEnumerable entities ) : void
nodes TreeNodeCollection /// The collection to add the nodes to. ///
queryStrings FormDataCollection The query strings.
entities IEnumerable /// The entities (data values and folders) to add to the tree. ///
Résultat void

AddCreateAction() public méthode

Adds the "Create Data Value" action with the specified ID used as the parent for the data value that is created.
public AddCreateAction ( Umbraco.Web.Models.Trees.MenuItemCollection menu, System.Guid entityId = null ) : void
menu Umbraco.Web.Models.Trees.MenuItemCollection /// The menu to add the action to. ///
entityId System.Guid /// The ID of the entity to create the data value under. /// If null, the data value will be created at the root. ///
Résultat void

AddDeleteAction() public méthode

Adds the "Delete Data Value" action to the data value node.
public AddDeleteAction ( Umbraco.Web.Models.Trees.MenuItemCollection menu ) : void
menu Umbraco.Web.Models.Trees.MenuItemCollection /// The menu to add the action to. ///
Résultat void

AddMoveDataValueAction() public méthode

Adds the "Move" action to the menu.
public AddMoveDataValueAction ( Umbraco.Web.Models.Trees.MenuItemCollection menu, DataValue dataValue ) : void
menu Umbraco.Web.Models.Trees.MenuItemCollection /// The menu items to add the action to. ///
dataValue DataValue /// The data value. ///
Résultat void

AddToTree() public méthode

Adds a data value node to the tree.
public AddToTree ( TreeNodeCollection nodes, FormDataCollection queryStrings, DataValue dataValue ) : void
nodes TreeNodeCollection /// The node collection to add the data value to. ///
queryStrings FormDataCollection The query strings.
dataValue DataValue The data value to add.
Résultat void

DataValueHelper() public méthode

Primary constructor.
public DataValueHelper ( Umbraco.Web.Trees.TreeController tree, FolderHelper helper ) : System
tree Umbraco.Web.Trees.TreeController /// The tree controller. ///
helper FolderHelper /// The folder helper. ///
Résultat System