Click here to Skip to main content
15,921,716 members
Home / Discussions / WPF
   

WPF

 
GeneralRe: MVVM Messenger / Mediator question Pin
_Maxxx_9-Mar-11 22:57
professional_Maxxx_9-Mar-11 22:57 
GeneralRe: MVVM Messenger / Mediator question Pin
Pete O'Hanlon9-Mar-11 23:12
mvePete O'Hanlon9-Mar-11 23:12 
GeneralRe: MVVM Messenger / Mediator question Pin
_Maxxx_9-Mar-11 23:45
professional_Maxxx_9-Mar-11 23:45 
GeneralRe: MVVM Messenger / Mediator question Pin
Pete O'Hanlon10-Mar-11 0:14
mvePete O'Hanlon10-Mar-11 0:14 
GeneralRe: MVVM Messenger / Mediator question Pin
_Maxxx_10-Mar-11 1:00
professional_Maxxx_10-Mar-11 1:00 
GeneralRe: MVVM Messenger / Mediator question Pin
Pete O'Hanlon10-Mar-11 1:43
mvePete O'Hanlon10-Mar-11 1:43 
GeneralRe: MVVM Messenger / Mediator question Pin
_Maxxx_10-Mar-11 2:22
professional_Maxxx_10-Mar-11 2:22 
GeneralRe: MVVM Messenger / Mediator question Pin
Pete O'Hanlon10-Mar-11 2:37
mvePete O'Hanlon10-Mar-11 2:37 
_Maxxx_ wrote:
In these sort of cases are you trapping the exception in the VM and adding the
info to the Mediator object, or do you leave the exception for the mediator to
trap and log?

It really depends. I'm a great believer in trapping and handling errors where you can. In some cases though, I want the exception to bubble upwards - but because of the loose coupling between the VMs, I want to still allow the others to continue. In this case, the result is acting almost like a mediator message in its own right - the mediator becomes aware of the exception, but it can still continue.

I'm not a stalker, I just know things. Oh by the way, you're out of milk.

Forgive your enemies - it messes with their heads


My blog | My articles | MoXAML PowerToys | Onyx


GeneralRe: MVVM Messenger / Mediator question Pin
Pete O'Hanlon9-Mar-11 22:38
mvePete O'Hanlon9-Mar-11 22:38 
GeneralRe: MVVM Messenger / Mediator question Pin
_Maxxx_9-Mar-11 22:58
professional_Maxxx_9-Mar-11 22:58 
QuestionMake silverlight app on page a "singleton" Pin
dbrenth9-Mar-11 10:50
dbrenth9-Mar-11 10:50 
AnswerRe: Make silverlight app on page a "singleton" Pin
Mycroft Holmes9-Mar-11 11:50
professionalMycroft Holmes9-Mar-11 11:50 
GeneralRe: Make silverlight app on page a "singleton" Pin
AspDotNetDev9-Mar-11 12:33
protectorAspDotNetDev9-Mar-11 12:33 
GeneralRe: Make silverlight app on page a "singleton" Pin
Mycroft Holmes9-Mar-11 13:01
professionalMycroft Holmes9-Mar-11 13:01 
AnswerRe: Make silverlight app on page a "singleton" Pin
Pete O'Hanlon9-Mar-11 11:54
mvePete O'Hanlon9-Mar-11 11:54 
GeneralRe: Make silverlight app on page a "singleton" Pin
AspDotNetDev9-Mar-11 12:36
protectorAspDotNetDev9-Mar-11 12:36 
AnswerRe: Make silverlight app on page a "singleton" Pin
AspDotNetDev9-Mar-11 12:32
protectorAspDotNetDev9-Mar-11 12:32 
GeneralRe: Make silverlight app on page a "singleton" Pin
dbrenth10-Mar-11 3:59
dbrenth10-Mar-11 3:59 
QuestionCalling windows service - Dequeue Pin
arkiboys9-Mar-11 5:05
arkiboys9-Mar-11 5:05 
AnswerRe: Calling windows service - Dequeue Pin
Pete O'Hanlon9-Mar-11 7:13
mvePete O'Hanlon9-Mar-11 7:13 
Questionhow do I match my string to one of the comboBox items Pin
Ravi Munde9-Mar-11 0:10
Ravi Munde9-Mar-11 0:10 
AnswerRe: how do I match my string to one of the comboBox items Pin
Pete O'Hanlon9-Mar-11 1:37
mvePete O'Hanlon9-Mar-11 1:37 
AnswerRe: how do I match my string to one of the comboBox items Pin
Abhinav S9-Mar-11 18:26
Abhinav S9-Mar-11 18:26 
QuestionCan you bind by property name? Pin
SledgeHammer018-Mar-11 19:55
SledgeHammer018-Mar-11 19:55 
AnswerRe: Can you bind by property name? Pin
Pete O'Hanlon8-Mar-11 21:32
mvePete O'Hanlon8-Mar-11 21:32 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.