I am not being able to get this work, even from the latest SVN of MEFContrib.
The contract name of the Export is always different from the Import one which results in composition error (No valid exports found...)
Export's contract name is "MEFGeneric.IRepository()".
Import's one is "MEFGeneric.IRepository(MEFGeneric.Order)"
Can someone please tell me why this is so?
Note: I am using MEF from .NET 4 RTM.