ClassElementNodeCollection
Class
Represents a collection of ElementNode object
Definition
Namespace:ArtOfTest.Common.Design.ProjectModel
Assembly:ArtOfTest.WebAii.Design.dll
Syntax:
cs-api-definition
public class ElementNodeCollection : IEnumerable<ElementNode>, IEnumerable
Inheritance: objectElementNodeCollection
Implements:
Constructors
ElementNodeCollection()
Create a new collection
Declaration
cs-api-definition
public ElementNodeCollection()
Properties
Count
Gets the number of elements in the collection.
this[int]
Access a node by index
Declaration
cs-api-definition
public ElementNode this[int index] { get; }
Parameters
index
Property Value
Methods
Add(ElementNode)
Add an element node.
Declaration
cs-api-definition
public ElementNode Add(ElementNode node)
Parameters
node
Returns
GetEnumerator()
Declaration
cs-api-definition
public IEnumerator<ElementNode> GetEnumerator()
Returns
Implements
GetNodeNames()
Get the list node names.
Insert(int, ElementNode)
Add an element node.
Declaration
cs-api-definition
public ElementNode Insert(int index, ElementNode node)
Parameters
index
node
Returns
Remove(ElementNode)
Remove an element node.
Declaration
cs-api-definition
public ElementNode Remove(ElementNode node)
Parameters
node
Returns
Events
NodeAdded
Triggered when a node is added.
Declaration
cs-api-definition
public event EventHandler<ElementNodeEventArgs> NodeAdded
Event Value
NodeRemoved
Triggered when a node is removed
Declaration
cs-api-definition
public event EventHandler<ElementNodeEventArgs> NodeRemoved
Event Value