I have the following problems with your tip using InterestedIn.
My ViewModel is based on Catel.MVVM.IViewModel only.
This interface does not expose a OnViewModelCommandExecuted method.
With "pass the UniqueIdentifier of a viewmodel as tag", do you mean the following?
cmd = new Command<string>(ExecuteSearch, tag:
From the example in 2), the ExecuteSearch method is within the source viewmodel.
I want it to be in the viewmodel which is InterestedIn the source vm.
But if it is not in the source VM, how can I create the new Command then?
Until now, the ExecuteSearch() method collects parameters, builds a message with them
and send them via the message mediator.
When I change this to use the InterestedIn method, how can I pass the parameters
along with the command?
The element which executes the command is not aware about the parameters at all.
Do I have to create a second command which in executed within the ExecuteSearch() method?
I am a litte bit confused...