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
Post a Comment