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
SystemObject
  MailMergeLibAngleSharpHtmlConverter

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

The AngleSharpHtmlConverter type exposes the following members.

Constructors
  NameDescription
Public methodAngleSharpHtmlConverter
Initializes a new instance of the AngleSharpHtmlConverter class
Top
Methods
  NameDescription
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.)
Top
Remarks
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 http://daringfireball.net/projects/markdown/ - Inspired by Markdown
See Also