开发者

PostSharp - break other aspects

开发者 https://www.devze.com 2023-02-07 06:51 出处:网络
I have two method that execute first th开发者_C百科e \"Cache\" aspect and next the \"Log\" aspect.

I have two method that execute first th开发者_C百科e "Cache" aspect and next the "Log" aspect. I want that, if I have a "cache hit" I don't have to Log anything! In other words, if a certain condition in "Cache" aspect is satisified then the "Log" aspect must be skipped.

Is it possible?

Thanks


This issue is addressed here:

http://doc.sharpcrafters.com/postsharp/2.0/Content.aspx/PostSharp.chm/html/30402cd7-58ab-49ac-8f5c-65f510174daf.htm

0

精彩评论

暂无评论...
验证码 换一张
取 消