Register for multiple message

Jun 1, 2013 at 4:39 AM
Can a view model register to receive multiple messages ? see below.. thanks


public ViewModel() //ctor
{
RegisterToReceiveMessages<> (MessageTokens.GridItemSelected, PopulateOutcomes);
RegisterToReceiveMessages<>(MessageTokens.GridItemScoreUpdated, UpdateGridRowScore);
}
Jun 2, 2013 at 12:44 AM
This works as expected.. Found my problem is the xaml. thanks..
Coordinator
Jun 2, 2013 at 9:33 PM
Excellent!