AngleSharp by Florian Rappl

<PackageReference Include="AngleSharp" Version="0.8.4" />

.NET API 1,229,312 bytes

 CharacterData

The base class for all characterdata implementations.
public string Data { get; set; }

Gets the string data in this character node.

public int Length { get; }

Gets the number of characters.

public IElement NextElementSibling { get; }

Gets the element immediately following in this node's parent's list of nodes, or null if the current element is the last element in that list.

Gets the element immediately preceding in this node's parent's list of nodes, null if the current element is the first element in that list.

public void After(INode[] nodes)

Inserts nodes after the current node.

public void Append(string value)

Appends some data to the character data.

public void Before(INode[] nodes)

Inserts nodes before the current node.

public void Delete(int offset, int count)

Deletes some data starting at the given offset with the given length.

public void Insert(int offset, string data)

Inserts some data starting at the given offset.

public void Remove()

Removes the current element from the parent.

public void Replace(int offset, int count, string data)

Replaces some data starting at the given offset with the given length.

public void Replace(INode[] nodes)

Replaces the current node with the nodes.

public string Substring(int offset, int count)

Returns the substring of the character data starting at the offset.