Example #1
0
 public static T GetAttr <T>(this object obj, string name, bool instance = true) =>
 ReflectionHelper.GetAttr <T>(obj, name, instance);
Example #2
0
 public static void SetAttr <T>(this object obj, string name, T val, bool instance = true) =>
 ReflectionHelper.SetAttr(obj, name, val, instance);