摘要: // 动态调用方法Type p = GetType();object o = Activator.CreateInstance(p);MethodInfo mi = p.GetMethod("方法名");object result = (mi != null) ? mi.Invoke(o, new object[] { context }) : ""; 阅读全文
posted @ 2013-02-28 10:35 厦门海之星 阅读(296) 评论(0) 推荐(0) 编辑