/// <summary>
 /// 获取object指定类型的值
 /// </summary>
 /// <param name="obj"></param>
 /// <param name="type"></param>
 /// <returns></returns>
 public static object objectForType(this object obj, Type type)
 {
     return(ObjectUtil.objectForType(type, obj));
 }
 /// <summary>
 /// 判断当前object是否为空值(包括0,空字符串等)
 /// </summary>
 /// <param name="obj"></param>
 /// <param name="type"></param>
 /// <returns></returns>
 public static bool isNull(this object obj, Type type)
 {
     return(ObjectUtil.isNull(type, obj));
 }