摘要:
public static string ToDescription(this Enum enumeration) { Type type = enumeration.GetType(); MemberInfo[] memInfo = type.GetMember(enumeration.ToString()); if (null != memInfo && memInfo.Length > 0) { object[] attrs = memInfo[0].GetCustomAttributes(type... 阅读全文
posted @ 2011-11-09 08:24
niky
阅读(252)
评论(0)
推荐(0)

浙公网安备 33010602011771号