函数类型
Inheritance: ScriptObject
コード例 #1
0
 public void Sort(ScriptFunction func)
 {
     Array.Sort <ScriptObject>(m_listObject, 0, m_size, new Comparer(m_Script, func));
 }
コード例 #2
0
 public override ScriptObject Clone()
 {
     if (FunctionType != FunstionType.Script)
         return base.Clone();
     ScriptFunction ret = new ScriptFunction(Script, Name, m_ScriptFunction);
     ret.IsStatic = IsStatic;
     return ret;
 }
コード例 #3
0
 internal Comparer(Script script, ScriptFunction func)
 {
     this.script = script;
     this.func   = func;
 }
コード例 #4
0
 public CodeFunction(ScriptFunction func, string breviary, int line)
     : base(breviary, line)
 {
     this.Func = func;
 }
コード例 #5
0
 public CodeFunction(ScriptFunction func)
 {
     this.Func = func;
 }
コード例 #6
0
 public void Sort(ScriptFunction func)
 {
     Array.Sort <ScriptValue>(m_Objects, 0, m_Length, new Comparer(func));
 }
コード例 #7
0
 public Comparer(ScriptFunction func)
 {
     this.func = func;
 }