示例#1
0
        public override object Execute(object[] Parameters)
        {
            if (Parameters[0] is Structure && Parameters[1] is JSONTable)
            {
                JSONTable table = Parameters[1] as JSONTable;
                table.Read(Parameters[0] as Structure);
            }

            else
            {
                //TODO: throw error: incorrect type
                Error.ThrowRuntimeError("READ", "Table is required.");
            }
            return(null);
        }