I am writing a WPF application using the MVVM template and using Prism in selected places for free communication, and I would like to have registration messages displayed in a window and written to a file. A subset of messages going in each direction may not be the same.
I think I should post the message through EventAggregator
(MS-Prism observer template implementation) and subscribe to two objects: one that updates LogWindowViewModel
and one that registers using the Enterprise Library registrar. Is this a good idea or am I duplicating what has already been implemented?
source
share