Represents code parsed and loaded from a script block.
|
virtual void | OnWindowLoaded () |
| Always called when the script is ready to go. More...
|
|
virtual void | Start () |
| Always called when the script is ready to go. More...
|
|
virtual void | OnWindowClose () |
| Can be called when the script is finished with. More...
|
|
bool | ContainsMethod (string methodName) |
| Returns true if this code contains the method with the given name. More...
|
|
bool | ContainsField (string fieldName) |
| Returns true if this code contains the field with the given name. More...
|
|
void | alert (object value) |
|
void | eval (string text) |
|
string | escapeHTML (string html) |
| Escapes the given string, essentially making any HTML it contains literal. More...
|
|
int | parseInt (string text) |
| Parses the given text into a number. More...
|
|
UITimer | setInterval (DynamicMethod< Nitro.Void > method, int ms) |
|
UITimer | setTimeout (DynamicMethod< Nitro.Void > method, int ms) |
|
void | clearInterval (UITimer timer) |
|
object | Run (string functionName, params object[] args) |
| Runs the named method that is contained within this script. More...
|
|
object | Run (string functionName, Type[] typeSet, params object[] args) |
| Runs the named overloaded method that is contained within this script. More...
|
|
virtual void | OnScriptReady () |
| Any code found outside of functions is placed into this method. It's done like this so when the code is instanced it can have properties set then have this called. More...
|
|
object | RunLiteral (string functionName, object[] args) |
| Runs the named method that is contained within this script. More...
|
|
object | RunLiteral (string functionName, Type[] typeSet, object[] args) |
| Runs the named overloaded method that is contained within this script. More...
|
|
object | RunLiteral (string functionName, object[] args, bool optional) |
| Runs the named overloaded method that is contained within this script. More...
|
|
object | RunLiteral (string functionName, Type[] typeSet, object[] args, bool optional) |
| Runs the named overloaded method that is contained within this script. More...
|
|