C# Класс N2.Management.Api.ApiExtensions

Показать файл Открыть проект Примеры использования класса

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

Метод Описание
Add ( this startingPoint, string parentName, Node nodeToAdd, bool requireParent = false, int insertIndex = -1, string insertBeforeSiblingWithName = null, string insertAfterSiblingWithName = null ) : void
FindRecursive ( this startingPoint, string requestedName ) : Node

Приватные методы

Метод Описание
BuildBranchStructure ( ItemFilter filter, IContentAdapterProvider adapters, ContentItem selectedItem, ContentItem root ) : HierarchyNode
BuildTreeStructure ( ItemFilter filter, IContentAdapterProvider adapters, ContentItem selectedItem, int maxDepth ) : HierarchyNode
CreateNode ( this structure, IContentAdapterProvider adapters, Collections filter ) : Node

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

Add() публичный статический Метод

public static Add ( this startingPoint, string parentName, Node nodeToAdd, bool requireParent = false, int insertIndex = -1, string insertBeforeSiblingWithName = null, string insertAfterSiblingWithName = null ) : void
startingPoint this
parentName string
nodeToAdd Node
requireParent bool
insertIndex int
insertBeforeSiblingWithName string
insertAfterSiblingWithName string
Результат void

FindRecursive() публичный статический Метод

public static FindRecursive ( this startingPoint, string requestedName ) : Node
startingPoint this
requestedName string
Результат Node