The responses I’ve got to this question have solved the problem I had in that question, but I’m wondering whether it’s possible to extend it a bit. For example, if I were to have third parties contributing commands to this system, would there be a way of extending the first answer to my previous question to allow it to load all the commands from all the DLLs in a folder, and then list them in the list box.
Is that possible? Would it be able to work with a List of ICommand (as the answer to my previous question suggested).
Yes.
However, you will probably run into some restrictions regarding assembly loading. You cannot just load assemblies from anywhere, otherwise you could reimplement something like COM DLL hell.