标签:color new request name style flags tty span obj
string name = base.Request["action"]; object obj2 = base.GetType().InvokeMember(name, BindingFlags.InvokeMethod, null, this, new object[0]); if (obj2 != null) { s = obj2.ToString(); }
传入方法名即可调用方法
标签:color new request name style flags tty span obj
原文地址:https://www.cnblogs.com/codeDevotee/p/11330703.html