NHibernate Plugin for Visual Studio 2005. Plugins in C# 2: Generics Enabled Extension Library - The Code P. Introduction If you have not already read my first article (from several years ago), please do so now. Now that you are done, welcome back! I've received a lot of positive feedback regarding the first article, and had always intended on writing another one on the topic, but years passed. Well, here it finally is, long overdue! The purpose of this particular article is to take some of the functionality we discussed in the last article and encapsulate it into a simple, easy to use library that anybody can include in their own projects.
Extensions First off, let's define what an Extension really is, in this case. Our extension wrapper will include several bits of data. We also want to store the filename of the extension in our wrapper and what kind of extension it is (an assembly or source file). Finally, the extension wrapper needs to store an instance of the actual extension once it is loaded. ExtensionManager Now, let's focus on the ExtensionManager object. Loading Source Code Files History.