Click or drag to resize

AngleSharpHtmlConverter Class

Convert HTML to plain text using the AngleSharp library. Parsing HTML with AngleSharp es extremely fast, and in addition it occurs only one per mail merge job and email texts are usually small.
Inheritance Hierarchy

Namespace:  MailMergeLib
Assembly:  MailMergeLib (in MailMergeLib.dll) Version:
public class AngleSharpHtmlConverter : IHtmlConverter

The AngleSharpHtmlConverter type exposes the following members.

Public methodAngleSharpHtmlConverter
Initializes a new instance of the AngleSharpHtmlConverter class
Public methodEquals
Determines whether the specified object is equal to the current object.
(Inherited from Object.)
Protected methodFinalize
Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.
(Inherited from Object.)
Public methodGetHashCode
Serves as the default hash function.
(Inherited from Object.)
Public methodGetType
Gets the Type of the current instance.
(Inherited from Object.)
Protected methodMemberwiseClone
Creates a shallow copy of the current Object.
(Inherited from Object.)
Public methodToPlainText
Convert a text file with HTML content to plain text.
Public methodToString
Returns a string that represents the current object.
(Inherited from Object.)
If someone prefers HtmlAgilityPack as a parser instead of AngleSharp, you could reference HtmlAgilityPack and include HtmlAgilityPackHtmlConverter.cs in the project. Should eventually be improved ;-) See also - Inspired by Markdown
See Also