wpf - Multiple instances of views with Prism and MEF -


i need instanciate many instances of same view of prism module. using mef: codeplex version has exportfactory attribute allows multiple instance creation prism uses .net desktop version has not exportfactory attribute. tried make prism work codeplex version seems not possible..

i found composition.initialization.desktop thing did not succeed in using it.

any other ideas ?

you can use partcreationpolicy attribute , set nonshared.

or, export , import factory class use build desired class.


Comments

Popular posts from this blog

c# - how to write client side events functions for the combobox items -

exception - Python, pyPdf OCR error: pyPdf.utils.PdfReadError: EOF marker not found -