This project is read-only.

Presenter Bindings

WindowsPhoneMvp uses an IPresenterDiscoveryStrategy to find the presenter for the corresponding view. Although it is possible to implement your own discovery strategy, the built-in provider is the AttributeBasedPresenterDiscoveryStrategy. This provider requires that views have the PresenterBinding attribute to specify which Presenter it should be bound to.


Alternate Presenter Discovery Strategies

By implementing the IPresenterDiscoveryStrategy interface, the new strategy can be assigned to the "PresenterBinding.DiscoveryStrategy" during the "InitializePhoneApplication" method in the App.xaml.cs.

Last edited May 11, 2011 at 2:32 PM by brendan, version 2


No comments yet.