public DeleLambda(CQ_Content content, IList <ICQ_Expression> param, ICQ_Expression func) { this.content = content.Clone(); this.expr_func = func; foreach (var p in param) { CQ_Expression_GetValue v1 = p as CQ_Expression_GetValue; CQ_Expression_Define v2 = p as CQ_Expression_Define; if (v1 != null) { paramTypes.Add(null); paramNames.Add(v1.value_name); } else if (v2 != null) { paramTypes.Add(v2.value_type); paramNames.Add(v2.value_name); } else { throw new Exception("DeleLambda 参数不正确"); } } }