protected override object OnCalc(IList <object> operands) { if (operands.Count > 1) { string hookFunc = operands[0] as string; string checkFunc = operands[1] as string; ScriptProcessor.SetCheckMethodFunc(hookFunc, checkFunc); return(checkFunc); } return(string.Empty); }