Class CompositeNode
Represents a CompositeNode.
Inherited Members
Namespace: DRIT.Document
Assembly: DRIT.Document.dll
Syntax
public abstract class CompositeNode : Node, IEnumerable<Node>, IEnumerable
Constructors
CompositeNode()
Initializes a new instance of the CompositeNode class.
Declaration
protected CompositeNode()
Properties
ChildNodes
Gets or sets child nodes.
Declaration
public NodeCollection ChildNodes { get; }
Property Value
| Type | Description |
|---|---|
| NodeCollection |
Count
Gets count.
Declaration
public int Count { get; }
Property Value
| Type | Description |
|---|---|
| int |
FirstChild
Gets first child.
Declaration
public Node FirstChild { get; }
Property Value
| Type | Description |
|---|---|
| Node |
HasChildNodes
Gets has child nodes.
Declaration
public bool HasChildNodes { get; }
Property Value
| Type | Description |
|---|---|
| bool |
IsComposite
Gets is composite.
Declaration
public override bool IsComposite { get; }
Property Value
| Type | Description |
|---|---|
| bool |
Overrides
LastChild
Gets last child.
Declaration
public Node LastChild { get; }
Property Value
| Type | Description |
|---|---|
| Node |
Methods
GetAllChildNodes()
Returns the requested all Child Nodes.
Declaration
public IEnumerable<Node> GetAllChildNodes()
Returns
| Type | Description |
|---|---|
| IEnumerable<Node> | The resulting value. |
GetEnumerator()
Returns an enumerator that iterates through the collection.
Declaration
public IEnumerator<Node> GetEnumerator()
Returns
| Type | Description |
|---|---|
| IEnumerator<Node> | The resulting value. |