I have written an aspect implementing IInstanceScopedAspect and inheriting from LocationInterceptionAspect.
What would be the best practice to implement save/restore layout funcionality for every DeveloperExpress XtraGrid control in my application. I use开发者_StackOverflow a lot of Grid visual elements on
I am thinking about reading Aspect-Oriented Analysis and Design: The Theme Approach, yet I am hesitant. Is it possible to use what\'s taught in the book with AspectJ (for Java) or Post# in C#? Maybe w
How do you give a C# Auto-Property a default value, using a custom attribute? This is the code I want to see:
I am running a .NET 4.0 Web Application (not web site) and PostSharp 1.5. I cannot get the OnEntry override method to execute using the OnMethodBoundaryAspect base class. Here is some relevant code:
I am trying the CacheAttribute feature of PostSharp. Following is the method I am using to build cache keys for each cache entry.
I\'m about to start using PostSharp in my project. I\'d like to leverage existing aspects. Is there a repository or a list of ready-to-use, 开发者_运维百科user contributed, postsharp aspects? Somethin
Does someone know any way to organize the logging statements more conveniently?开发者_C百科 I guess there is no such way, but, well, here is a small example:
I have quite a large code base using a variety of different ADO technologies (i.e. some EF and in some cases using ADO.Net directly).
We are using dependency inje开发者_如何学Goction with and IoC (Unity) and now I want to make an aspect with PostSharp that would basically log enter/exit of a method. My problem is that my logger is c