2
Vote

Not possible to use IOC for IMessageCoordinator

description

It's great Web Forms MVP has the ability to use IOC with for example Autofac. But today in running in problems with the MessageCoordinatoor. So, I thought to use a own implementation created by with the IOC pattern. But I can't use this method to inject my own IMessageCoordinator because is all overridden by the PresenterBinder. In this class the IMessageCoordinator is explicit assigned by a object constructed of type WebFormsMvp.MessageCoordinatoor. And this instance is assigned to the IMessageBus IPresenter.Messages on binding the presenters and the views together.
Please can you change this? It would be nice to be able using IOC for the IMessageCoordinator instances.
Kind regards,

Frans Harinck

comments