IOT Dash
Public Member Functions | List of all members
IotDash.Domain.Mediator.TargetCastAdapter< TChannelKey, TMsgIn, TMsgOut > Class Template Reference
Inheritance diagram for IotDash.Domain.Mediator.TargetCastAdapter< TChannelKey, TMsgIn, TMsgOut >:
Inheritance graph
[legend]
Collaboration diagram for IotDash.Domain.Mediator.TargetCastAdapter< TChannelKey, TMsgIn, TMsgOut >:
Collaboration graph
[legend]

Public Member Functions

 TargetCastAdapter (ITarget< TChannelKey, TMsgOut > target)
 
Task OnReceive (object? sender, TMsgIn message)
 
override string ToString ()
 
- Public Member Functions inherited from IotDash.Domain.Mediator.ITarget< TChannelKey, TMsgIn >
Task OnReceive (object? sender, TMsg message)
 

Detailed Description

A shim inserted before a subscription target, that casts all messages from TMsgIn to TMsgOut.

Template Parameters
TChannelKey
TMsgIn
TMsgOut
Type Constraints
TChannelKey :notnull 
TMsgIn :notnull 
TMsgOut :notnull 
TMsgOut :TMsgIn 

The documentation for this class was generated from the following file: