2014年4月6日
摘要: #region SolidWorks Registration[ComRegisterFunctionAttribute] public static void RegisterFunction(Type t) { #region Get Custom Attribute: SwAddinAttribute SwAddinAttribute SWattr = null; Type type = typeof(SwAddin); foreach (System.Attribute ... 阅读全文
posted @ 2014-04-06 11:32 武胜-阿伟 阅读(1577) 评论(0) 推荐(0)
摘要: http://blog.tedd.no/2013/09/13/async-callback-to-awaitable-task/The Async-Await feature in .Net is really super. At least until it comes to debugging, exception handling and race conditions. In short it cuts down on code, bugs, complexity and allows for linear programming. Traditional async programm 阅读全文
posted @ 2014-04-06 11:06 武胜-阿伟 阅读(439) 评论(0) 推荐(0)