This project has moved and is read-only. For the latest updates, please go here.


Constraining Send<TMessage,TTarget> by a base class does not work.


If I specify a concrete base class for generic argument TTarget, I do not receive a message. However, if I specify an interface type then Send works as expected. Is this a bug or a design decision.

The code in question is in Messenger.SendToList(). I notice there is a check for whether the target implements message target type but not if it is a subclass.
Closed Oct 13, 2014 at 1:54 PM by lbugnion