C# Class Tp.Integration.Plugin.TestRunImport.Utils.HtmlReader

A very loose HTML parser.
See also twintsam project for an alternative and more capable implementation of HtmlReader compatible with .NET framework XML readers.
Inheritance: IDisposable
ファイルを表示 Open project: TargetProcess/Target-Process-Plugins Class Usage Examples

Public Methods

Method Description
Dispose ( ) : void
GetInnerTextUpToElement ( string elementName, HtmlNodeType nodeType ) : string
HtmlReader ( TextReader textReader ) : System
Read ( ) : bool
ReadElementString ( ) : string
ReadToFollowing ( string elementName ) : bool

Private Methods

Method Description
DecodeEntity ( string s ) : string

Method Details

Dispose() public method

public Dispose ( ) : void
return void

GetInnerTextUpToElement() public method

public GetInnerTextUpToElement ( string elementName, HtmlNodeType nodeType ) : string
elementName string
nodeType HtmlNodeType
return string

HtmlReader() public method

public HtmlReader ( TextReader textReader ) : System
textReader TextReader
return System

Read() public method

public Read ( ) : bool
return bool

ReadElementString() public method

public ReadElementString ( ) : string
return string

ReadToFollowing() public method

public ReadToFollowing ( string elementName ) : bool
elementName string
return bool