I was looking for various ways to provide plugins for my application. Ideally, I will create basic functions and will be based on different clients developing various plugins / add-ons, such as import, data export, etc. What are some of the methods available for building a C # application using the plugin architecture?
Let's make an example. If we have a program consisting of the main menu (File, Edit, View, et al.) Together with TreeView, which displays various brands of cars grouped by manufacturer (Ford, GM, for now). Right-clicking on a car displays a context menu, the only option of which is “delete car”.
How could you develop an application so that plugins can be deployed so that you can let one client see a new brand in TreeView, say Honda, and also expand the car’s context menu so that they can now “paint the car”?
In Eclipse / RCP, this is easily handled by extension points and plugins. How does C # handle it? I studied developing my own plug-in architecture and reading on MEF.
c # plugins dynamic menu extensibility
Matthew
source share