Пример #1
0
 /// <summary>
 /// Get description
 /// 获取描述
 /// </summary>
 /// <typeparam name="T">类型</typeparam>
 /// <param name="memberName">成员名称</param>
 public static string GetDescription <T>(string memberName)
 {
     return(GetDescription(Types.Of <T>(), memberName));
 }
Пример #2
0
 /// <summary>
 /// Get description
 /// 获取描述
 /// </summary>
 /// <typeparam name="T"></typeparam>
 /// <returns></returns>
 public static string GetDescription <T>()
 {
     return(GetDescription(Types.Of <T>()));
 }