XapModuleTypeLoader question

Topics: Prism v2 - Silverlight 2
Feb 11, 2009 at 6:20 AM

Hi,

Why in ModuleManager you have IEnumerable collection of loaders with single loader inside it?

Best regards,
Alexey Zakharov.

Feb 11, 2009 at 2:17 PM

Hi Alexey,

 

The reason there is only a single loader is because the XapModuleTypeLoader is the only class that implements the IModuleTypeLoader interface (in Silverlight) out-of-the-box, in the Composite Application Library.

You could create your custom type loader/retriever, by implementing the aforementioned interface and set the TypeLoaders IEnumerable collection.

 

Please let me know if this helps.

 

Damian Schenkelman

http://blogs.southworks.net/dschenkelman
Feb 11, 2009 at 2:34 PM
Thanks Damian, now everything is clear.