Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Can you make use of AOP with Ninject 2?

Tags:

aop

ninject-2

I'm trying to find examples on the web of how to use AOP via Ninject. Can someone confirm if AOP is available in Ninject 2 without using external libraries (i.e. Castle Windsor?).

If it can be done, could you post a link to resources that would help me get started?

like image 688
Jason Evans Avatar asked Feb 07 '11 11:02

Jason Evans


1 Answers

Yes, use the Interception extension:

https://github.com/ninject/ninject.extensions.interception

http://www.google.ch/search?client=firefox-a&rls=org.mozilla%3Aen-GB%3Aofficial&channel=s&hl=de&source=hp&biw=1330&bih=813&q=Ninject.Extensions.Interception&btnG=Google-Suche

like image 157
Remo Gloor Avatar answered Sep 28 '22 05:09

Remo Gloor