Created Wednesday 12 February 2014
Best practices:
- You need a method on a type and you don't own the source.
- You need a method on a type, you do own the source, and the type is an interface.
- You need a method on a type, you do own the source, but adding the method creates undesired coupling.
Links
- Extension Methods
- How to: Implement and Call a Custom Extension Method
- http://stackoverflow.com/questions/4727325/extension-methods-vs-regular-methods-best-practice-ideas
- http://blogs.msdn.com/b/vbteam/archive/2007/03/10/extension-methods-best-practices-extension-methods-part-6.aspx
No backlinks to this page. comments powered by Disqus