AngleSharp by AngleSharp

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

.NET API 1,214,976 bytes

 IText

The Text interface represents the textual content of Element or Attr. If an element has no markup within its content, it has a single child implementing Text that contains the element's text. However, if the element contains markup, it is parsed into information items and Text nodes that form its children.
using AngleSharp.Attributes; namespace AngleSharp.Dom { [DomName("Text")] public interface IText : ICharacterData, INode, IEventTarget, IMarkupFormattable, IChildNode, INonDocumentTypeChildNode { [DomName("wholeText")] string Text { get; } [DomName("assignedSlot")] IElement AssignedSlot { get; } [DomName("splitText")] IText Split(int offset); } }