摘要: 反射+泛型方法 public static bool ObjectIsNullOrEmpty<T>(T t) { foreach (var item in t.GetType().GetProperties()) { if (item.GetValue(t) == null) { return tr 阅读全文
posted @ 2021-05-26 10:34 超级驼鹿 阅读(969) 评论(0) 推荐(0) 编辑
/*