PostSharp Principles: Day 12 - Aspect Providers, Part 1

added by kingbee71
7/12/2011 9:49:26 AM

145 Views

When it comes to building aspects, using the provided base classes such as OnMethodBoundaryAspect and LocationInterceptionAspect are quick and easy ways to implement a simple aspect. But they have their limitations: each aspect can only implement one transformation. But what if you need to encapsulate a design pattern made of several transformations? We’re going to look at two ways of building complex aspects: aspect providers today and advices tomorrow.


0 comments