示例#1
0
 public static void InvokeMethod(object obj, string name, bool instance = true, params object[] args) =>
 ReflectionHelper.InvokeMethod(obj, name, instance, args);
示例#2
0
 public static T GetAttr <T>(this object obj, string name, bool instance = true) =>
 ReflectionHelper.GetAttr <T>(obj, name, instance);
示例#3
0
 public static MethodInfo GetMethodInfo(this object obj, string name, bool instance = true) =>
 ReflectionHelper.GetMethodInfo(obj, name, instance);
示例#4
0
 public static void SetAttr <T>(this object obj, string name, T val, bool instance = true) =>
 ReflectionHelper.SetAttr(obj, name, val, instance);