Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Aspect Oriented Programming in C# [closed]

Tags:

c#

.net

aop

Are there any good resources to wrap my head around Aspect Oriented Programming?

PS: I need to understand AO programming, not the libraries or frameworks available for .NET or C# :)

like image 474
TheVillageIdiot Avatar asked Sep 13 '09 04:09

TheVillageIdiot


1 Answers

Just to get your head around it: It is the ability to hook events such as: creation of objects, setting of properties, etc, and attach general functions to them, that will be populated with relevant context.

Because C# doesn't have an inbuilt facility for this, you need a framework, like PostSharp, to do 'bytecode weaving' (i.e. just writing code to actually make the calls, directly to your classes) to simulate it.

like image 70
Noon Silk Avatar answered Oct 13 '22 20:10

Noon Silk