Exemplo n.º 1
0
 public override object Execute(object[] Parameters)
 {
     if (Parameters[0] is Structure && Parameters[1] is JSONTable)
     {
         JSONTable table = Parameters[1] as JSONTable;
         table.Chain(Parameters[0] as Structure, Parameters[2] as dynamic[]);
     }
     else
     {
         //TODO: throw error: incorrect type
         Error.ThrowRuntimeError("READ", "Table is required.");
     }
     return(null);
 }