You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Prism previously introduced a number of great extensions off of the IModuleCatalog to check if a Module exists, or is initialized, however in order to validate the current state of a module you must inject both the IModuleManager and IModuleCatalog, since it is likely that in this scenario you want to load a module if it hasn't been initialized.
API Changes
We would be updating the IModuleManager to include a new property:
This then allows us to bring some of the extensions we have on the IModuleCatalog over to the IModuleManager to make it easier to work with as we only need to work with a single dependency directly.
Summary
Prism previously introduced a number of great extensions off of the IModuleCatalog to check if a Module exists, or is initialized, however in order to validate the current state of a module you must inject both the IModuleManager and IModuleCatalog, since it is likely that in this scenario you want to load a module if it hasn't been initialized.
API Changes
We would be updating the IModuleManager to include a new property:
This then allows us to bring some of the extensions we have on the IModuleCatalog over to the IModuleManager to make it easier to work with as we only need to work with a single dependency directly.
Add Extensions for the IModuleManager:
Add Extensions for IModuleCatalog
Intended Use Case
The text was updated successfully, but these errors were encountered: