protected override CalculatorValue OnCalc(IList <CalculatorValue> operands) { string info = operands[0].AsString; ScriptProcessor.Begin(info); return(0); }
protected override object OnCalc(IList <object> operands) { string info = operands[0] as string; ScriptProcessor.Begin(info); return(0); }
protected override object OnCalc(IList <object> operands) { if (operands.Count > 0) { string info = operands[0] as string; if (null != info) { ScriptProcessor.Begin(info); } } return(0); }