摘要:
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
大力哥的技术
阅读(393)
评论(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
大力哥的技术
阅读(295)
评论(0)
推荐(0)
摘要:
虽然”世界末日“要来了,但只有我更关心你的健康! 阅读全文
posted @ 2012-12-06 11:42
大力哥的技术
阅读(268)
评论(11)
推荐(0)

浙公网安备 33010602011771号