Harness IModule for purpose like NinjectModule ? #2477
Unanswered
sigmarsson
asked this question in
General
Replies: 1 comment
-
Could I reuse the first |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Perhaps this idea would be just an inappropriate use but probably reusing an IoC configuration in terms of type registration can be a frequent demand while setting up and launching unit tests. (I read somewhere that
Prism
has stopped fusioning withNinject
due to its limitation on the mobile platforms)Earlier I used this class to share the IoC setups among the application and different unit tests:
I currently have 2
IModule
classes;IoCSetup
above)and later merge them in the
ConfigureModuleCatalog
;Is it something you could advise to follow through to substitue NinjectModules and inherit the unit test classes from
PrismApplication
as a legitim solution ?Beta Was this translation helpful? Give feedback.
All reactions