C# Class ExamplesFx.HtmlWrapper

Wrapper class for handling the HTML output
Afficher le fichier Open project: MarcosMeli/ExamplesFx

Méthodes publiques

Свойство Type Description
Body String
Files List
URLprefix string
UseBlockQuotes bool

Méthodes publiques

Méthode 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

Méthode Description
GetHeadAndFoot ( ) : void
ProcessBody ( StringBuilder html ) : void

Method Details

Export() public méthode

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

HtmlWrapper() public méthode

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
Résultat System

ToString() public méthode

Very simple HTML file with very little overheads
public ToString ( ) : string
Résultat string

Property Details

Body public_oe property

Body text before expansion
public String Body
Résultat String

Files public_oe property

Example Files attached to this sample
public List Files
Résultat List

URLprefix public_oe property

public string URLprefix
Résultat 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
Résultat bool