Possible error in Mediator.Register


Mediator.Register checks to see that there is exactly one parameter on methods decorated with MediatorMessageSinkAttribute have exactly one parameter. By the existence of public void NotifyColleagues(string message) shouldn't it be zero or one parameters?
I am presuming that this is valid:
public void OnMessageType()
// Do something
Closed Sep 10, 2011 at 12:13 PM by marlongrech


marlongrech wrote Sep 10, 2011 at 12:12 PM

This is not valid, mediator needs a parameter always. In the next release I will add a method to accept 0 parameters as well

wrote Sep 10, 2011 at 12:13 PM

wrote Feb 14, 2013 at 6:47 PM

wrote May 16, 2013 at 8:39 AM