每个平台都应该具备异常处理策略,此处异常处理策略只针对用户请求产生的当前线程异常,不包括异步处理时产生的未捕获异常,关于异常处理建议大家可以去看下微软企业库的 Exception Handling Application Block
AbsCommonExceptionFilterAttribute,同信息验证一样,异常也是通过Attrbute来处理 using System.Ne...
本文主要分为三部分:
1)yield return, IEnumerator 和 Unity StartCoroutine 的关系和理解
2)Cortoutine 扩展——Extending Coroutines: Return Values and Error Handling
3)Co...
分类:
编程语言 时间:
2015-02-05 11:21:26
阅读次数:
385
AForm Panelis nothing more than a basicPanelwith form handling abilities added. Form Panels can be used throughout an Ext application wherever there i...
分类:
Web程序 时间:
2015-02-05 00:48:19
阅读次数:
275
1.show([speed,[easing],[fn]])\\显示隐藏的匹配元素//speed:三种预定速度之一的字符串("slow","normal", or "fast")或表示动画时长的毫秒数值(如:1000)//easing:(Optional) 用来指定切换效果,默认是"swing",可用...
分类:
Web程序 时间:
2015-02-04 16:25:26
阅读次数:
224
在应用的时候PA2口需要设置成推挽输出,控制一个外部电源开关,端口初始化程序如下: GPIO_DeInit(GPIOA); GPIO_Init(GPIOA,GPIO_PIN_2,GPIO_MODE_OUT_PP_HIGH_SLOW); 在设置完后,端口会马上输出高电平,于是又加了一...
分类:
其他好文 时间:
2015-02-04 12:23:14
阅读次数:
255
1,找到mysql的配置文件,一般在/etc/my.cnf,find也可以尝试搜索下该文件 find / -name my.cnf2,打开my.cnf文件,在【mysqld】的下面添加 log-slow-queries = /usr/local/mysql/log/slow.log long_q.....
分类:
数据库 时间:
2015-02-04 10:54:18
阅读次数:
163
微软近期Open的职位:Senior Software Engineer-Office Incubation Office China team is looking for experienced engineers to improve consumer experience in China....
分类:
其他好文 时间:
2015-02-03 12:30:35
阅读次数:
184
转自:[已完工][经典文章翻译]A Crash Course on the Depths of Win32 Structured Exception Handling原文题目: >原文地址: http://www.microsoft.com/msj/0197/Exception/Exception....
1,About Text Handling in iOSThe iOS platform gives you many ways to display text in your apps and let users edit that text. It also lets you display f...
分类:
移动开发 时间:
2015-02-02 17:31:08
阅读次数:
217
原题地址基本模拟代码: 1 ListNode *removeNthFromEnd(ListNode *head, int n) { 2 ListNode *fast = head; 3 ListNode *slow = head; 4 ListNode...
分类:
其他好文 时间:
2015-02-02 15:33:58
阅读次数:
142