AOP with Unity

Apr 1, 2008 at 12:12 PM
I'm interested in using Unity and some aspect-oriented programming concepts. In reading the discussions and blogs, I'm a little confused about the right approach for this. Is Policy Injection Application Block still the intended way to do this, or as http://www.codeplex.com/unity/WorkItem/View.aspx?WorkItemId=1507 seems to indicate, is PIAB being phased out in favor of built in interception in Unity?

My goal is to define simple interfaces and "POCO" classes and use AOP to implement basic System.Component stuff like INotifyPropertyChanged, IDataErrorInfo. I'm able to do this with PostSharp, but am curious if there is a better way using Unity and/or PIAB.
Apr 1, 2008 at 5:39 PM
We are going to be leveraging some of the work from the OB2 trunk on http://www.codeplex.com/objectbuilder and PIAB to have extensions for doing AOPish work.
Dec 14, 2009 at 7:57 PM
Edited Dec 19, 2009 at 11:09 AM

I got INotifyPropertyChanged and IDataErrorInfo (thanks for the idea!) aspects implemented with Unity, HTH.