C# Class RazorMail.Parsers.HtmlAgilityPackParser

Inheritance: IParser
Mostra file Open project: wduffy/RazorMail Class Usage Examples

Private Properties

Property Type Description

Public Methods

Method Description
BaseUrls ( string html ) : string
HtmlAgilityPackParser ( Uri uri ) : System
StripHtml ( string html ) : string

Protected Methods

Method Description
AppendBrToBlockElements ( HtmlNode root ) : void
AppendTableDividers ( HtmlNode root ) : void
RemoveUnwantedElements ( HtmlNode root ) : void
RemoveWhitespace ( HtmlNode root ) : void
ReplaceBrElements ( HtmlNode root ) : void
ReplaceHrefElements ( HtmlNode root ) : void

Method Details

AppendBrToBlockElements() protected method

protected AppendBrToBlockElements ( HtmlNode root ) : void
root HtmlAgilityPack.HtmlNode
return void

AppendTableDividers() protected method

protected AppendTableDividers ( HtmlNode root ) : void
root HtmlAgilityPack.HtmlNode
return void

BaseUrls() public method

public BaseUrls ( string html ) : string
html string
return string

HtmlAgilityPackParser() public method

public HtmlAgilityPackParser ( Uri uri ) : System
uri System.Uri
return System

RemoveUnwantedElements() protected method

protected RemoveUnwantedElements ( HtmlNode root ) : void
root HtmlAgilityPack.HtmlNode
return void

RemoveWhitespace() protected method

protected RemoveWhitespace ( HtmlNode root ) : void
root HtmlAgilityPack.HtmlNode
return void

ReplaceBrElements() protected method

protected ReplaceBrElements ( HtmlNode root ) : void
root HtmlAgilityPack.HtmlNode
return void

ReplaceHrefElements() protected method

protected ReplaceHrefElements ( HtmlNode root ) : void
root HtmlAgilityPack.HtmlNode
return void

StripHtml() public method

public StripHtml ( string html ) : string
html string
return string