It's a small project, but for the sake of it, I'd like to put MVP architecture enforcement in place by making an assembly for each layer and then be able to write a test that ensures that the architecture is being respected (see attached code snippet). However, Presenter needs to know about stuff in Model, and vice versa — same between Presenter and View. This would create circular references which aren't allowed for assemblies. I know that creating intermediary interfaces is a good way to break circular references between classes, but I'm not quite sure how that's done with assemblies. Thanks in advance for your help and clarifications.
#MVP Architecture Enforcement : Use Assemblies or Just Use Namespaces ?
1 messages · Page 1 of 1 (latest)