Apr 15, 2011 at 2:54 AM
Edited Apr 15, 2011 at 2:55 AM
I am trying to use MEF to discover all the Serializers in my project, then register them with Sterling.
Typically this would look like:
foreach (BaseSerializer bs in DevPortalSerializers)
Of course, in Sterling, this wont't work. Sterling required the Generic syntax:
Generic Syntax won't work with MEF, as MEF is a runtime creature, while the Generic syntax is compile time.
Does anyone know a way to
get this to work, short of altering the base SterlingDatabase interface?