Python use decorators to pre and post actions when calling a function.
Here is a way to do it in .Net
http://msdn.microsoft.com/en-us/library/ff648328(v=PandP.10).aspx
Another library : Castle Project
http://www.castleproject.org/dynamicproxy/index.html
No comments:
Post a Comment