2016年5月13日
摘要: 上一篇讲了这么多,其实说的就是一个事,return会被编译器重写成SetResult,所以如果我们的异步函数返回的是一个Task,代码就要改成这样: using System; using System.Runtime.CompilerServices; using System.Threading.Tasks; namespace StateMachineDemo { class P... 阅读全文
posted @ 2016-05-13 16:16 PointerSMQ 阅读(366) 评论(0) 推荐(0) 编辑