Taking a look at the following question, Real world use of custom .NET attributes how would you implement the solution proposed by @Esteban?
I'm a little confused as to when and where the code would get executed I think. Could you please supply a good sample of code.
I've asked this question before but didn't properly phrase it I think so...