protected override object OnCalc(IList <object> operands, object[] args) { string file = operands[0] as string; string className = operands[1] as string; string methodName = operands[2] as string; uint insertSize = CastTo <uint>(operands[3]); ScriptProcessor.Extend(file, className, methodName, insertSize); return(0); }
protected override CalculatorValue OnCalc(IList <CalculatorValue> operands) { string file = operands[0].AsString; string className = operands[1].AsString; string methodName = operands[2].AsString; uint insertSize = CastTo <uint>(operands[3]); ScriptProcessor.Extend(file, className, methodName, insertSize); return(0); }