예제 #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);