Played around with MEF a bit and determined that its functionality doesn't really provide anything better than what an IOC container can provide (in its current form). Autofac (or Unity for that matter) could theoretically provide all the same behavior (and more).
Playing with MEF and extensible mappers
Stuff to play around with
- See if we can make a simple interface that maps from T1 to T2
- What should map(t1,t2) return? (string, xdoc, jobject) ?
- What inputs should it take (inSchema, outSchema, inModel) returning outModel ?