MantisBT - MPfm
View Issue Details
0000403MPfmMVPpublic2012-11-11 21:362013-06-24 12:55
ycastonguay 
ycastonguay 
highfeatureN/A
resolvedfixed 
 
0.7.0.00.7.0.0 
0000403: Add an event aggregator (TinyMessenger)
The presenters should never be dependent on another presenter. Use the Event Aggregator design pattern to broadcast messages between presenters.
No tags attached.
Issue History
2012-11-11 21:36ycastonguayNew Issue
2012-11-11 21:36ycastonguayStatusnew => assigned
2012-11-11 21:36ycastonguayAssigned To => ycastonguay
2012-11-11 21:38svnCheckin
2012-11-11 21:38svnNote Added: 0000857
2012-11-11 22:11svnCheckin
2012-11-11 22:11svnNote Added: 0000858
2013-06-24 12:54ycastonguayStatusassigned => resolved
2013-06-24 12:54ycastonguayFixed in Version => 0.7.0.0
2013-06-24 12:54ycastonguayResolutionopen => fixed

Notes
(0000857)
svn   
2012-11-11 21:38   
The user animal has checked in files related to this issue (revision 634).

Comment:
Added TinyMessenger to the solution.
Added PlayerStatusMessage and LibraryBrowserItemSelectedMessage.
LibraryBrowserPresenter is no longer dependent on SongBrowserPresenter.

Related to issue 0000403.


Files modified:
U MPfm/branches/current/MPfm.MVP/Bootstrapper/LibraryModule.cs
U MPfm/branches/current/MPfm.MVP/MPfm.MVP.csproj
A MPfm/branches/current/MPfm.MVP/Messages/
A MPfm/branches/current/MPfm.MVP/Messages/LibraryBrowserItemSelectedMessage.cs
A MPfm/branches/current/MPfm.MVP/Messages/PlayerStatusMessage.cs
A MPfm/branches/current/MPfm.MVP/Messages/PlayerStatusType.cs
U MPfm/branches/current/MPfm.MVP/Presenters/LibraryBrowserPresenter.cs
U MPfm/branches/current/MPfm.MVP/Presenters/SongBrowserPresenter.cs
U MPfm/branches/current/MPfm.MVP/Services/PlayerService.cs
A MPfm/branches/current/MPfm.MVP/TinyIoC/
A MPfm/branches/current/MPfm.MVP/TinyIoC/TinyIoC.cs
A MPfm/branches/current/MPfm.MVP/TinyIoC/TinyMessenger.cs
(0000858)
svn   
2012-11-11 22:11   
The user animal has checked in files related to this issue (revision 635).

Comment:
The presenters are no longer dependent on each other. They are all now communicating through the event aggregator.

Related to issue 0000403.


Files modified:
U MPfm/branches/current/MPfm.MVP/MPfm.MVP.csproj
A MPfm/branches/current/MPfm.MVP/Messages/LibraryBrowserItemDoubleClickedMessage.cs
A MPfm/branches/current/MPfm.MVP/Messages/SongBrowserItemDoubleClickedMessage.cs
U MPfm/branches/current/MPfm.MVP/Presenters/LibraryBrowserPresenter.cs
U MPfm/branches/current/MPfm.MVP/Presenters/PlayerPresenter.cs
U MPfm/branches/current/MPfm.MVP/Presenters/SongBrowserPresenter.cs