Click here to Skip to main content
14,038,575 members
Rate this:
 
Please Sign up or sign in to vote.
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

Rate this: bad
 
good
Please Sign up or sign in to vote.

Solution 1

Hi Maurizio,

Just look on my article:

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


Use the "interfaces" approach for OOD pattern :)
   

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

  Print Answers RSS
Top Experts
Last 24hrsThis month


Advertise | Privacy | Cookies | Terms of Service
Web06 | 2.8.190425.1 | Last Updated 18 Apr 2014
Copyright © CodeProject, 1999-2019
All Rights Reserved.
Layout: fixed | fluid

CodeProject, 503-250 Ferrand Drive Toronto Ontario, M3C 3G8 Canada +1 416-849-8900 x 100