C# Class Scorpio.Variable.ScorpioScriptFunction

脚本函数
Mostra file Open project: qingfeng346/Scorpio-CSharp Class Usage Examples

Public Methods

Method Description
Call ( ScriptContext parentContext, ScriptObject>.Dictionary objs, ScriptObject parameters ) : ScriptObject
GetParameterCount ( ) : int
GetParameters ( ) : ScriptArray
IsParams ( ) : bool
ScorpioScriptFunction ( Script script, List listParameters, ScriptExecutable scriptExecutable, bool bParams ) : System

Method Details

Call() public method

public Call ( ScriptContext parentContext, ScriptObject>.Dictionary objs, ScriptObject parameters ) : ScriptObject
parentContext Scorpio.Runtime.ScriptContext
objs ScriptObject>.Dictionary
parameters Scorpio.ScriptObject
return Scorpio.ScriptObject

GetParameterCount() public method

public GetParameterCount ( ) : int
return int

GetParameters() public method

public GetParameters ( ) : ScriptArray
return ScriptArray

IsParams() public method

public IsParams ( ) : bool
return bool

ScorpioScriptFunction() public method

public ScorpioScriptFunction ( Script script, List listParameters, ScriptExecutable scriptExecutable, bool bParams ) : System
script Script
listParameters List
scriptExecutable Scorpio.Runtime.ScriptExecutable
bParams bool
return System