MethodInfo.Invoke()
摘要:反射调用时,必须传递所有参数, 无论是否有默认参数。 public class InvokeTarget { public static void Invoke1(int a) { } public static void Invoke2(Action<int> a, int b = 0) { }
阅读全文
posted @ 2020-11-17 15:49
posted @ 2020-11-17 15:49
posted @ 2020-01-14 12:39
posted @ 2020-01-13 14:56
posted @ 2018-06-27 17:48