so first we plan the design. I have a combobox with a button, and I have a plugins folder.
says that I have the imageeffect.cs plugin in the plugins folder. this class MUST have properties such as "title". My program gets this βheaderβ and dynamically loads the combobox with this header. So now my program recognizes the plugin. Now, when the user clicks the button, I want some data (processed by my program) to be transferred to the imageeffect.cs plugin, where he does everything that works on him and returns me the status.
so repeat. my program reads the plugin directory. loads each plugin "title" property (defined by my plugin creator) into combobox. When the user clicks the "data" button or in this case the image is sent to the plugin, and the plugin really works on it. he then returns me the βStatusβ or in this case the image back with any effects that he wanted.
source share