Building a component that works with different versions of a library–STATIC METHODS

In my previous blog post, I discussed how to build a .NET component that works with different versions of a particular library. In that post, I demonstrated a technique for accessing instance methods that get added in a later version of a library. In this post, I'll modify the technique some to make it work reasonably well for static methods that get added in a later version of a library.

Let's starts by looking at Version 1.0 of some library class:

public sealed class VersioningType {   ...

 •  0 comments  •  flag
Share on Twitter
Published on July 16, 2010 06:10
No comments have been added yet.


Jeffrey Richter's Blog

Jeffrey Richter
Jeffrey Richter isn't a Goodreads Author (yet), but they do have a blog, so here are some recent posts imported from their feed.
Follow Jeffrey Richter's blog with rss.