public WriteScript ( TextManager manager, string clientClassName, TextWriter output, LanguageInfo language = null, string defaultNamespace = null, Func |
||
manager | TextManager | The text manager to extract texts from. |
clientClassName | string | The client name of the generated object. (The script will be var clientClassName = ...) |
output | TextWriter | The generated javascript will be written to this generator. |
language | LanguageInfo | The language for the generated texts (if different from current language). |
defaultNamespace | string | The default namespace for texts. (Set this to your assembly's namespace in plugins) |
filter | Func |
Specify this to only include a subset of the TextManager's texts. |
includeScriptTags | bool | Wraps the generated script in <script> blocks if |
return | void |