简体   繁体   English

异步CTP +后锐化

[英]Async CTP + Postsharp

Is there any restriction on the combination of the two frameworks? 这两个框架的组合是否有任何限制? (in vs2012) (在vs2012中)

Searched and did not find any valid information. 搜索,但未找到任何有效信息。 I can use async await, usually with PostSharp? 我可以使用异步等待,通常与PostSharp一起使用吗? I refer specifically to "OnMethodBoundaryAspect" and similar.. 我专门指的是“ OnMethodBoundaryAspect”等。

Apparently works. 显然有效。 Only is a necessary caution, because of the use of Task that are mentioned here: 由于此处使用了Task,因此仅是必要的警告:

http://theburningmonk.com/2012/11/aop-using-postsharp-attributes-with-async-tasktaskt-methods/ http://theburningmonk.com/2012/11/aop-using-postsharp-attributes-with-async-tasktaskt-methods/

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM