By tag: aspect
0
kicks
PostSharp Principals
Learn how to use the features of PostSharp to get the most out of Aspect Oriented Programming.
0
kicks
Aspects and on-hover descriptions
Always wanted to add a description telling you exactly what an applied PostSharp aspect does, when hovering over the marked field/property/method/class/...?
PostSharp does not have such a feature, but I found a way! Look inside for the result.
0
kicks
Async Aspect
Hate making threads manually to call methods in an async (non blocking) way, while you know that the method should always run on a seperate thread?
Then I advise you to try out this PostSharp aspect : Async
Attach the [Async] aspect to any method, and from that point on every call to that meth...
0
kicks
WPF + INotifyPropertyChanged Proxy = Epic Fail!
Sending property changed events when a property is changed is repetitive boilerplate code that can be factored out into an aspect of your system's behaviour. This can be done with a proxy generator library like the Castle's DynamicProxy2. Alas, it is not as pretty as it seems...
0
kicks
Spring.AOP, Castle.DynamicProxy2 - first glance from an outsider
A first look at the two "aspect oriented" frameworks and a rough indicator what it means performance-wise to use them.