Interface IMsgHandlerGeneric<TMsg>
Alternate variant which can be used in place of IMsgHandler<TMsg> when an INodeData struct
implementation would otherwise need to implement two incompatible IMsgHandler<TMsg> interfaces. A common
use of this variant would be for a node which has an input of generic type and other input(s) of non generic type(s).
In this scenario, the node could use IMsgHandlerGeneric<TMsg> to implement the handler for its generic
input, and normal IMsgHandler<TMsg>s for other inputs.
Syntax
public interface IMsgHandlerGeneric<TMsg>
Type Parameters
Methods
HandleMessage(MessageContext, TMsg)
Declaration
void HandleMessage(MessageContext ctx, in TMsg msg)
Parameters