I am creating an outlook like applications which have 3 modules
2. Mail items
On the left side I am going to display a tree view of the folder structure for each module
Only one folder is displayed at a given point of time.
Each module implements IFoldersView interface.
The tree view is part of a different module named “Infrastructure”.
What is a correct approach to call the active IFoldersView in order to get the folder structure
For the active module?
Should the active module register or replace(each time it become active) the concrete implementation of IFoldersView in the
unity container So the “Infrastructure” can call him?
Thanks in advance