C# Class XRayBuilderGUI.XRay

显示文件 Open project: Ephemerality/xray-builder.gui Class Usage Examples

Public Properties

Property Type Description
Terms List

Public Methods

Method Description
CreateXray ( ) : int
ExpandFromRawMl ( string rawMl, bool ignoreSoftHypen = false, bool shortEx = true ) : int
GetShelfari ( ) : bool
GetXRayName ( bool android = false ) : string
LoadAliases ( string aliasFile ) : void
LoadChapters ( ) : bool
PopulateDb ( SQLiteConnection db ) : int
SaveChapters ( ) : void
SaveCharacters ( string aliasFile ) : void
SaveXml ( string outfile ) : int
ToString ( ) : string
XRay ( ) : System
XRay ( string shelfari, XRayBuilderGUI.frmMain frm, bool useSpoilers = false ) : System
XRay ( string xml, string db, string guid, string asin, XRayBuilderGUI.frmMain frm, bool useSpoilers = false, int locOffset, string aliaspath = "" ) : System
XRay ( string shelfari, string db, string guid, string asin, XRayBuilderGUI.frmMain frm, bool useSpoilers = false, int locOffset, string aliaspath = "", bool unattended = false ) : System

Private Methods

Method Description
LoadTermsFromTxt ( string txtfile ) : int
SearchChapters ( HtmlAgilityPack bookDoc, string rawML ) : void

Searches for a Table of Contents within the book and adds the chapters to _chapters.

Method Details

CreateXray() public method

public CreateXray ( ) : int
return int

ExpandFromRawMl() public method

public ExpandFromRawMl ( string rawMl, bool ignoreSoftHypen = false, bool shortEx = true ) : int
rawMl string
ignoreSoftHypen bool
shortEx bool
return int

GetShelfari() public method

public GetShelfari ( ) : bool
return bool

GetXRayName() public method

public GetXRayName ( bool android = false ) : string
android bool
return string

LoadAliases() public method

public LoadAliases ( string aliasFile ) : void
aliasFile string
return void

LoadChapters() public method

public LoadChapters ( ) : bool
return bool

PopulateDb() public method

public PopulateDb ( SQLiteConnection db ) : int
db System.Data.SQLite.SQLiteConnection
return int

SaveChapters() public method

public SaveChapters ( ) : void
return void

SaveCharacters() public method

public SaveCharacters ( string aliasFile ) : void
aliasFile string
return void

SaveXml() public method

public SaveXml ( string outfile ) : int
outfile string
return int

ToString() public method

public ToString ( ) : string
return string

XRay() public method

public XRay ( ) : System
return System

XRay() public method

public XRay ( string shelfari, XRayBuilderGUI.frmMain frm, bool useSpoilers = false ) : System
shelfari string
frm XRayBuilderGUI.frmMain
useSpoilers bool
return System

XRay() public method

public XRay ( string xml, string db, string guid, string asin, XRayBuilderGUI.frmMain frm, bool useSpoilers = false, int locOffset, string aliaspath = "" ) : System
xml string
db string
guid string
asin string
frm XRayBuilderGUI.frmMain
useSpoilers bool
locOffset int
aliaspath string
return System

XRay() public method

public XRay ( string shelfari, string db, string guid, string asin, XRayBuilderGUI.frmMain frm, bool useSpoilers = false, int locOffset, string aliaspath = "", bool unattended = false ) : System
shelfari string
db string
guid string
asin string
frm XRayBuilderGUI.frmMain
useSpoilers bool
locOffset int
aliaspath string
unattended bool
return System

Property Details

Terms public_oe property

public List Terms
return List