C# Class SobekCM.Core.WebContent.Hierarchy.WebContent_Hierarchy

Inheritance: iSerializationEvents
Afficher le fichier Open project: MarkVSullivan/SobekCM-Web-Application Class Usage Examples

Private Properties

Свойство Type Description

Méthodes publiques

Méthode Description
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

Method Details

Add_Child() public méthode

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
Résultat SobekCM.Core.WebContent.Hierarchy.WebContent_Hierarchy_Node

Add_Child() public méthode

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
Résultat void

Add_Single_Node() public méthode

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
Résultat void

Clear() public méthode

Clear this hierarchy object, by clearing the collection of root nodes
public Clear ( ) : void
Résultat void

Find() public méthode

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
Résultat SobekCM.Core.WebContent.Hierarchy.WebContent_Hierarchy_Node

PostUnSerialization() public méthode

Method is called by the serializer after this item is unserialized
public PostUnSerialization ( ) : void
Résultat void

WebContent_Hierarchy() public méthode

Constructor for a new instance of the WebContent_Hierarchy class
public WebContent_Hierarchy ( ) : System
Résultat System