//用于同步修改回加载Dsl实例的工具方法 public static void SetParam(Dsl.CallData callData, int index, string val) { Dsl.ValueData valData = callData.GetParam(index) as Dsl.ValueData; if (null != valData) { int idType = valData.GetIdType(); valData.SetId(val); valData.SetType(idType); } }
static public int SetId(IntPtr l) { try { Dsl.ValueData self = (Dsl.ValueData)checkSelf(l); System.String a1; checkType(l, 2, out a1); self.SetId(a1); pushValue(l, true); return(1); } catch (Exception e) { return(error(l, e)); } }