AOP in Action – Part 2: Dirty Tracking using Mixins with Castle’s DynamicProxy
In Part 1, we used the Unity block to intercept properties for dirty tracking. Our target class needed to implement the IDirty interface, and the setter properties (annotated with the Dirty attribute) assigned the Dirty flag (of IDirty) when the value has changed. Take for...
