随笔分类 -  项目总结

项目总结
每日总结
摘要:1. try to create new instance which need to parse to the call method in muliply threa method.,2. Singial instance: not to use the member in the signtan instance. otherwise, the thread sync problem will be a problem. which ist just for temp use.Try to create new one to pass to the method. Lock (thre. 阅读全文
posted @ 2012-01-12 17:25 higirle 阅读(315) 评论(0) 推荐(0) 编辑
今日总结2012/1/6
摘要:1. Foreach内不能改变value2. Property的使用:小心不用在get;set内在使用property否则会造成死循环,而且很难检查。3. 在刷新UI,不管是直接去刷新还是通过InotifiproperyChange,or IConnectionChanged来出发UI刷新,只要是在非UI线程都要使用异步促发, Dispatch.BeginInvoke(() =>{});否则会产生accorss thread Exception.4. PhoneTask要特殊处理,因为phoneTask调用时,application并没有进入后台,所以也不会进入onNavigationT 阅读全文
posted @ 2012-01-06 13:43 higirle 阅读(247) 评论(0) 推荐(0) 编辑