c# - MEF ExportFactory<T> - Any way to pass a parameter value prior to creating an export? -


factory.createexport() create's exportlifetimecontext<t> 

is there way pass in parameter creates parameter. found example code wasn't looking for, had called dependency , i'm wondering if that's right direction at?


update:

the link's answer has it, though i'm not sure if that's "foo" or actual object. custom 'exportfactory'


Comments

Popular posts from this blog

c++ - Is it possible to compile a VST on linux? -

c# - SharpSVN - How to get the previous revision? -

php cli reading files and how to fix it? -