摘要:
var memInfo = enumType.GetType().GetMember(enumType.ToString()); var attributes = memInfo[0].GetCustomAttributes(typeof(DescriptionAttribute), false). 阅读全文
摘要:
using LitJson;//自定义Json类JsonDataResult jsondata = new JsonDataResult() { Success = false }; HttpContext.Current.Response.Write(JsonMapper.ToJson(jsond... 阅读全文