C# Класс SobekCM.Core.WebContent.Hierarchy.WebContent_Hierarchy

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

Private Properties

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

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

Метод Описание
Add_Child ( string NewSegment, int NewWebContentID = null ) : SobekCM.Core.WebContent.Hierarchy.WebContent_Hierarchy_Node

Add a new child node to this node

Add_Child ( SobekCM.Core.WebContent.Hierarchy.WebContent_Hierarchy_Node NewNode ) : void

Add a new child node to this node

Add_Single_Node ( int WebContentID, string Redirect, string Level1, string Level2, string Level3, string Level4, string Level5, string Level6, string Level7, string Level8 ) : void

Add a single new node to the web hierarchy

Clear ( ) : void

Clear this hierarchy object, by clearing the collection of root nodes

Find ( List UrlSegments ) : SobekCM.Core.WebContent.Hierarchy.WebContent_Hierarchy_Node

Look within this hierarchy for a match for a collection of incoming URL segments

PostUnSerialization ( ) : void

Method is called by the serializer after this item is unserialized

WebContent_Hierarchy ( ) : System

Constructor for a new instance of the WebContent_Hierarchy class

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

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

Add a new child node to this node
public Add_Child ( string NewSegment, int NewWebContentID = null ) : SobekCM.Core.WebContent.Hierarchy.WebContent_Hierarchy_Node
NewSegment string Segment name for this element with the web content hierarchy
NewWebContentID int [Optional] Primary key for this web content page, from the database
Результат SobekCM.Core.WebContent.Hierarchy.WebContent_Hierarchy_Node

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

Add a new child node to this node
public Add_Child ( SobekCM.Core.WebContent.Hierarchy.WebContent_Hierarchy_Node NewNode ) : void
NewNode SobekCM.Core.WebContent.Hierarchy.WebContent_Hierarchy_Node Fully built new root child node
Результат void

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

Add a single new node to the web hierarchy
public Add_Single_Node ( int WebContentID, string Redirect, string Level1, string Level2, string Level3, string Level4, string Level5, string Level6, string Level7, string Level8 ) : void
WebContentID int Primary key to the web content page to add
Redirect string Redirect URL associated with the final web content page
Level1 string First level URL segment for the web content page to add
Level2 string Second level URL segment for the web content page to add
Level3 string Third level URL segment for the web content page to add
Level4 string Fourth level URL segment for the web content page to add
Level5 string Fifth level URL segment for the web content page to add
Level6 string Seventh level URL segment for the web content page to add
Level7 string Seventh level URL segment for the web content page to add
Level8 string Eighth level URL segment for the web content page to add
Результат void

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

Clear this hierarchy object, by clearing the collection of root nodes
public Clear ( ) : void
Результат void

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

Look within this hierarchy for a match for a collection of incoming URL segments
public Find ( List UrlSegments ) : SobekCM.Core.WebContent.Hierarchy.WebContent_Hierarchy_Node
UrlSegments List Collection of URL segments to match within this deep hierarchy
Результат SobekCM.Core.WebContent.Hierarchy.WebContent_Hierarchy_Node

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

Method is called by the serializer after this item is unserialized
public PostUnSerialization ( ) : void
Результат void

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

Constructor for a new instance of the WebContent_Hierarchy class
public WebContent_Hierarchy ( ) : System
Результат System