Darf Zon
Darf Zon

Reputation: 6378

How to load all the PRISM modules in runtime?

In the meanwhile, I was creating module catalogs to load the modules using Unity. I've seen several applications which can load all the modules in a certain folder, I mean.. the application can load the modules in runtime.

Is it possible to do this?

Upvotes: 0

Views: 1012

Answers (1)

Krimson
Krimson

Reputation: 772

You just have på override the GetModuleCatalog method in the Bootstrapper and return a new DirectoryModuleCatalog. See this question: Prism v4 Loading modules on demand with DirectoryModuleCatalog.

Upvotes: 2

Related Questions