摘要: View CodepublicstaticstringProcess(stringinput){Regexr=newRegex(@"\$\{(?<custId>\d+):(?<attrib>\w+)}");returnr.Replace(input,Evaluate);}staticstringEvaluate(Matchmatch){Customerc=newCustomer{Name="同志们",Ssn="123",Company="公司"};switch(match.Groups[&q 阅读全文
posted @ 2011-04-01 14:04 年轻国王 阅读(181) 评论(0) 推荐(0) 编辑