This project is read-only.


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 1:13 PM by marlongrech


marlongrech wrote Sep 10, 2011 at 1: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 1:13 PM

wrote Feb 14, 2013 at 7:47 PM

wrote May 16, 2013 at 9:39 AM