Class NodeList

Class NodeList

Namespace: Aspose.Html.Toolkit.Markdown.Syntax
Assembly: Aspose.HTML.dll (25.2.0)

Base implementation of the NodeList.

[ComVisible(true)]
public abstract class NodeList<t> : IEnumerable<t>, IEnumerable, IWritable where T : MarkdownSyntaxNode

Type Parameters

T

The T type.

Inheritance

objectNodeList<t>

Implements

IEnumerable<t>, IEnumerable, IWritable

Inherited Members

object.GetType(), object.MemberwiseClone(), object.ToString(), object.Equals(object?), object.Equals(object?, object?), object.ReferenceEquals(object?, object?), object.GetHashCode()

Constructors

NodeList()

protected NodeList()

Properties

Count

Gets the number of node in the list.

public abstract int Count { get; }

Property Value

int

Methods

Get(int)

Gets the node at the given index.

public abstract T Get(int index)

Parameters

index int

The index of the node to get.

Returns

T

The node at the given index.

GetEnumerator()

Gets the nodes in the collection.

public abstract IEnumerator<t> GetEnumerator()

Returns

IEnumerator<t>

The IEnumerator.

WriteTo(TextWriter)

Write nodes to text writer.

public void WriteTo(TextWriter writer)

Parameters

writer TextWriter

The text writer. </t></t></t>