ScriptStack 1.0.0
A .NET scripting language
|
A Routine is an abstract representation of a method. Mehr ...
Öffentliche Methoden | |
Routine (Type result, string name, List< Type > parameters) | |
Routine (Type result, string name, List< Type > parameterTypes, string description) | |
Routine (string name) | |
Routine (string name, string description) | |
Routine (Type result, string name) | |
Routine (Type result, string name, string description) | |
Routine (Type result, string name, Type parameter) | |
Routine (Type result, string name, Type parameter, string description) | |
Routine (Type result, string name, Type parameter0, Type parameter1) | |
Routine (Type result, string name, Type parameter0, Type parameter1, string description) | |
Routine (Type result, string name, Type parameter0, Type parameter1, Type parameter2) | |
Routine (Type result, string name, Type parameter0, Type parameter1, Type parameter2, string description) | |
void | Verify (List< object > parameters) |
Verify the parameter types of a Routine. If null or void was specified values arent verified. | |
void | Verify (object result) |
Verify the result of a Routine. If null or void was specified values arent verified. | |
override string | ToString () |
string | Description () |
Propertys | |
string | Name [get] |
List< Type > | ParameterTypes [get] |
Type | Result [get] |
Host | Handler [get, set] |
Private Methoden | |
void | Validate (Type type) |
string | ToString (Type type) |
Private Attribute | |
string | name |
List< Type > | parameters |
Type | result |
string | description |
Host | host |
A Routine is an abstract representation of a method.
To successfully write a routine you have to use one of its several overloaded cunstuctors listed above and pass up to a maximum of 3 parameters.
To declare more then 3 parameters you can add them to a list and add the list as parameter
The Manager can invoke a Routine by using the Invoke method.
ScriptStack.Runtime.Routine.Routine | ( | Type | result, |
string | name, | ||
List< Type > | parameters ) |
Benutzt ScriptStack.Runtime.Routine.host, ScriptStack.Runtime.Routine.name, ScriptStack.Runtime.Routine.parameters, ScriptStack.Runtime.Routine.result und ScriptStack.Runtime.Routine.Validate().
ScriptStack.Runtime.Routine.Routine | ( | Type | result, |
string | name, | ||
List< Type > | parameterTypes, | ||
string | description ) |
Benutzt ScriptStack.Runtime.Routine.description, ScriptStack.Runtime.Routine.host, ScriptStack.Runtime.Routine.name, ScriptStack.Runtime.Routine.result und ScriptStack.Runtime.Routine.Validate().
ScriptStack.Runtime.Routine.Routine | ( | string | name | ) |
ScriptStack.Runtime.Routine.Routine | ( | string | name, |
string | description ) |
ScriptStack.Runtime.Routine.Routine | ( | Type | result, |
string | name ) |
ScriptStack.Runtime.Routine.Routine | ( | Type | result, |
string | name, | ||
string | description ) |
ScriptStack.Runtime.Routine.Routine | ( | Type | result, |
string | name, | ||
Type | parameter ) |
ScriptStack.Runtime.Routine.Routine | ( | Type | result, |
string | name, | ||
Type | parameter, | ||
string | description ) |
ScriptStack.Runtime.Routine.Routine | ( | Type | result, |
string | name, | ||
Type | parameter0, | ||
Type | parameter1 ) |
ScriptStack.Runtime.Routine.Routine | ( | Type | result, |
string | name, | ||
Type | parameter0, | ||
Type | parameter1, | ||
string | description ) |
ScriptStack.Runtime.Routine.Routine | ( | Type | result, |
string | name, | ||
Type | parameter0, | ||
Type | parameter1, | ||
Type | parameter2 ) |
ScriptStack.Runtime.Routine.Routine | ( | Type | result, |
string | name, | ||
Type | parameter0, | ||
Type | parameter1, | ||
Type | parameter2, | ||
string | description ) |
string ScriptStack.Runtime.Routine.Description | ( | ) |
Benutzt ScriptStack.Runtime.Routine.description.
Wird benutzt von ScriptStack.Compiler.Parser.RoutineCall().
override string ScriptStack.Runtime.Routine.ToString | ( | ) |
Benutzt ScriptStack.Runtime.Routine.name, ScriptStack.Runtime.Routine.parameters, ScriptStack.Runtime.Routine.result und ScriptStack.Runtime.Routine.ToString().
Wird benutzt von ScriptStack.Runtime.Routine.ToString().
|
private |
|
private |
Wird benutzt von ScriptStack.Runtime.Routine.Routine() und ScriptStack.Runtime.Routine.Routine().
void ScriptStack.Runtime.Routine.Verify | ( | List< object > | parameters | ) |
Verify the parameter types of a Routine. If null or void was specified values arent verified.
parameters |
Benutzt ScriptStack.Runtime.Routine.name und ScriptStack.Runtime.Routine.parameters.
Wird benutzt von ScriptStack.Runtime.Interpreter.INV().
void ScriptStack.Runtime.Routine.Verify | ( | object | result | ) |
Verify the result of a Routine. If null or void was specified values arent verified.
result |
Benutzt ScriptStack.Runtime.Routine.name und ScriptStack.Runtime.Routine.result.
|
private |
Wird benutzt von ScriptStack.Runtime.Routine.Description() und ScriptStack.Runtime.Routine.Routine().
|
private |
Wird benutzt von ScriptStack.Runtime.Routine.Routine() und ScriptStack.Runtime.Routine.Routine().
|
private |
|
private |
Wird benutzt von ScriptStack.Runtime.Routine.Routine(), ScriptStack.Runtime.Routine.Routine(), ScriptStack.Runtime.Routine.Routine(), ScriptStack.Runtime.Routine.Routine(), ScriptStack.Runtime.Routine.Routine(), ScriptStack.Runtime.Routine.Routine(), ScriptStack.Runtime.Routine.Routine(), ScriptStack.Runtime.Routine.ToString() und ScriptStack.Runtime.Routine.Verify().
|
private |
|
getset |
Wird benutzt von ScriptStack.Runtime.Interpreter.INV().
|
get |
Wird benutzt von ScriptStack.Runtime.Interpreter.INV().
|
get |
Wird benutzt von ScriptStack.Runtime.Interpreter.INV() und ScriptStack.Compiler.Parser.RoutineCall().
|
get |