Nov 29, 2010

Unity Interception (AOP)

Recently, I have been working on adding Unity Interception and found out that it is extremely poorly documented. Here is the list of links one may find useful:
 - The bare bones of Unity interceptions
 - Order Property and Firing of Handlers
 - Unity interception performance
 - INotifyPropertyChanged With Unity Interception AOP
 - Implementing INotifyProperyChanged with Unity Interception

Also, there are always opened questions here: unity-interception

1 comment:

Yauheni Sivukha said...

My belief - Interception is sux. It is much better to use decorators. Something like:

.DecoratorChain<IHealthMonitor>()
.Decorator<HealthMonitor>()
.Decorator<HealthMonitorLogDecorator>()
.EndChain()