摘要: public class EnumHelper { public static T GetEnumByDescription<T>(string description) { if (!string.IsNullOrEmpty(description)) { Type enumType = typeof(T); EnumItemCollection enumItems = GetEnumItems(enumType); ... 阅读全文
posted @ 2012-12-06 20:20 Care健康 阅读(384) 评论(0) 推荐(0) 编辑
摘要: public static string GetImageUrlFromArticle(string articleContent){ Regex r = new Regex(@"<IMG[^>]+src=\s*(?:'(?<src>[^']+)'|""(?<src>[^""]+)""|(?<src>[^>\s]+))\s*[^>]*>", RegexOptions.IgnoreCase); MatchCollection m 阅读全文
posted @ 2012-12-06 16:26 Care健康 阅读(290) 评论(0) 推荐(0) 编辑
摘要: 虽然”世界末日“要来了,但只有我更关心你的健康! 阅读全文
posted @ 2012-12-06 11:42 Care健康 阅读(256) 评论(11) 推荐(0) 编辑
版权
作者:Bober Song

出处:http://bober.cnblogs.com

Care健康:http://www.aicareyou.com

推荐空间:华夏名网

本文首发博客园,版权归作者跟博客园共有。

转载必须保留本段声明,并在页面显著位置给出本文链接,否则保留追究法律责任的权利。