postsharp
Whats the difference between PostSharp and Castle Dynamic Proxy?
Just wondering what the main diffe开发者_Go百科rences are between these libraries, how they differ in features and functionality.[详细]
2022-12-08 22:00 分类:问答.NET Conditional Compiler Symbols and Unit Test Libraries
My team has a set of unit test libraries that run against our application code - unfortunately they are throwing (unexpected) exceptions. The reason for this is that our logging code is being called a[详细]
2022-12-08 18:31 分类:问答How do I create a pointcut to intercept all methods in a class with PostSharp?
I\'ve tried using AttributeTargetTypes, but i开发者_如何学Ct just won\'t work. What am I missing?The easiest way to apply an aspect to all methods of a class is to annotate this class with the aspect[详细]
2022-12-08 18:08 分类:问答System.AccessViolationException with Dynamic Proxy Generation
We are using PostSharp to inject caching functionality, we are only seeing this issue when we are using it. When we use Spring the issue seems to go away.[详细]
2022-12-08 17:00 分类:问答Has anybody used any AOP products under Mono?
I\'m looking into using PostSharp on one of my projects. The complicating factor is that I need PostSharp to work on both Windows x64 and Linux x64/Mono.[详细]
2022-12-08 09:12 分类:问答How to use PostSharp with MOQ?
We are trying to use PostSharp, more specifically the OnMethodInvocationAspect, to intercept the methods of a class.[详细]
2022-12-08 07:01 分类:问答