Register for multiple message

Jun 1, 2013 at 3: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 1, 2013 at 11:44 PM
This works as expected.. Found my problem is the xaml. thanks..
Coordinator
Jun 2, 2013 at 8:33 PM
Excellent!