Метод | Описание | |
---|---|---|
AddPlugin ( string _scriptName, PluginType _type ) : void |
Add required js and html for a specific plugin to the index generator
|
|
Dispose ( ) : void | ||
GenerateIndex ( ) : void |
Write out the index.html file to be served
|
|
HtmlBuilder ( ) : System | ||
HtmlBuilder ( bool _local ) : System |
Constructor, initializes temp files and necessary paths. When the HtmlBuilder is initialized, check for any temp files and remove them. This ensures that the index.htm file that is built doesn't have any errors from the previous runs |
Метод | Описание | |
---|---|---|
WritePlugins ( |
Write out the html for all of the plugins from their respective fragments
|
public AddPlugin ( string _scriptName, PluginType _type ) : void | ||
_scriptName | string | string containing the name of the plugins javascript files |
_type | PluginType | class of plugin. Different classes require different placement in the homepage |
Результат | void |
public HtmlBuilder ( bool _local ) : System | ||
_local | bool | Use local resources or web sourced? |
Результат | System |