Method | Description | |
---|---|---|
WriteScript ( this manager, string clientClassName, LanguageInfo language = null, string defaultNamespace = null, Func |
Creates a JavaScript class to use the TextManager's texts client-side
|
public static WriteScript ( this manager, string clientClassName, LanguageInfo language = null, string defaultNamespace = null, Func |
||
manager | this | The manager. |
clientClassName | string | Name of the class. |
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 | System.Web.HtmlString |