Click here to Skip to main content
15,888,315 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
I need to create a system to execute some scheduled jobs.
I considered it's a job for MEF.
The idea is to have a central blok where I can attach some other components in the form of MEF plugins.
For example I would like to have a class for data source, a class for data destination and a class for transformation rule.
I need to specific wich concrete class (derived from base class) I would like to use in terms of source, destination and transformation.
During the runtime the engine must read data from sources, pass data to the transformation class and write the otput with the data source for the destination.

wich use the best OOD Pattern for this problem ?
Do you know where I can find some example code or tutorial ?

Regards
Maurizio
Posted
Updated 17-Mar-14 21:44pm
v2

1 solution

Hi Maurizio,

Just look on my article:

The Simplest Way to use MEF Fully Lazy DLL Loading[^]


Use the "interfaces" approach for OOD pattern :)
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900