MEF - Modify execution if one plugin fails
- by alexn
Hi!
I'm using MEF for a plugin-system to my application. The flow goes like this:
Run all Pre-plugins
Run all Core-plugins
Run all Post-plugins
For example, if a plugin in the Core execution fails, i don't want to run certain post plugins.
What would be the best way to achieve this? Hope my question is clear, otherwise please tell me and i'll try to elaborate.