MEF - Modify execution if one plugin fails
Posted
by alexn
on Stack Overflow
See other posts from Stack Overflow
or by alexn
Published on 2010-03-14T08:04:02Z
Indexed on
2010/03/14
8:15 UTC
Read the original article
Hit count: 295
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.
© Stack Overflow or respective owner