Click here to Skip to main content
15,893,588 members
Articles / Programming Languages / C#

Function Decorator Pattern - Reanimation of Functions

Rate me:
Please Sign up or sign in to vote.
4.88/5 (52 votes)
15 Jun 2016CPOL9 min read 75.6K   306   81  
This is an alternative for "Interceptor in the Wild". The Function Decorator Pattern offers a way to inject new behaviors into existing methods without using IoC frameworks nor modifying method implementations.

Views

Daily Counts

Downloads

Weekly Counts

License

This article, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)


Written By
Technical Lead
China China
I am now programming applications for the Internet of Things.

Comments and Discussions