Plugin system

We've created a small plugin system.

We are moving towards our component system in our applications, which means that we do not improve the system anymore.
We will merge/include any contributions though.

CodeProject article

I've written an article about the system:
http://www.codeproject.com/KB/macros/pluginsystem.aspx

Plugin helpers

        List<Type> types = new List<Type>();
        types.Add(typeof(IPlayer));
        types.Add(typeof(IViewer));

        PluginFinder finder = new PluginFinder();
        finder.Find("C:\\myapp\\plugins\\plugin*.dll", types);

        Console.WriteLine("Found the following plugins: ");
        foreach (PluginInformation info in finder.Plugins)
          Console.WriteLine("    " + info.Location);

Last edited Dec 10, 2008 at 12:15 PM by jgauffin, version 3

Comments

No comments yet.