摘要: AssemblyInfo.cs[assembly:XmlConfigurator(Watch =true)]privatestaticreadonlyILogLog =LogManager.GetLogger(MethodBase.GetCurrentMethod... 阅读全文
posted @ 2014-10-14 16:41 落叶潇潇雨 阅读(264) 评论(0) 推荐(0) 编辑
摘要: privatestaticvoidSerialize1(stringfilename,objectobj) {varstream =newFileStream(filename,FileMode.OpenOrCreate);varserializer =newDataContractSerializ... 阅读全文
posted @ 2014-10-14 16:39 落叶潇潇雨 阅读(1427) 评论(0) 推荐(0) 编辑