C# Class ExamplesFx.HtmlWrapper

Wrapper class for handling the HTML output
Exibir arquivo Open project: MarcosMeli/ExamplesFx

Public Properties

Property Type Description
Body String
Files List
URLprefix string
UseBlockQuotes bool

Public Methods

Method Description
Export ( string filename ) : void

Export example file to the filesystem for website

HtmlWrapper ( String pBody, List pFiles ) : System

Create a HTML wrapper with a template (before expansion)

ToString ( ) : string

Very simple HTML file with very little overheads

Private Methods

Method Description
GetHeadAndFoot ( ) : void
ProcessBody ( StringBuilder html ) : void

Method Details

Export() public method

Export example file to the filesystem for website
public Export ( string filename ) : void
filename string HTML output filename
return void

HtmlWrapper() public method

Create a HTML wrapper with a template (before expansion)
public HtmlWrapper ( String pBody, List pFiles ) : System
pBody String Html content that appears between body tags
pFiles List
return System

ToString() public method

Very simple HTML file with very little overheads
public ToString ( ) : string
return string

Property Details

Body public_oe property

Body text before expansion
public String Body
return String

Files public_oe property

Example Files attached to this sample
public List Files
return List

URLprefix public_oe property

public string URLprefix
return string

UseBlockQuotes public_oe property

Whether the blockquote commands are embedded, bad to inline viewing, better for webpages In DEBUG it will relfect the working directory of your Doc/Include directory
public bool UseBlockQuotes
return bool