C# Класс ExamplesFx.HtmlWrapper

Wrapper class for handling the HTML output
Показать файл Открыть проект

Открытые свойства

Свойство Тип Описание
Body String
Files List
URLprefix string
UseBlockQuotes bool

Открытые методы

Метод Описание
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

Приватные методы

Метод Описание
GetHeadAndFoot ( ) : void
ProcessBody ( StringBuilder html ) : void

Описание методов

Export() публичный Метод

Export example file to the filesystem for website
public Export ( string filename ) : void
filename string HTML output filename
Результат void

HtmlWrapper() публичный Метод

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
Результат System

ToString() публичный Метод

Very simple HTML file with very little overheads
public ToString ( ) : string
Результат string

Описание свойств

Body публичное свойство

Body text before expansion
public String Body
Результат String

Files публичное свойство

Example Files attached to this sample
public List Files
Результат List

URLprefix публичное свойство

public string URLprefix
Результат string

UseBlockQuotes публичное свойство

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
Результат bool