예제 #1
0
 public ReplyChannel(MessageSender sender)
 {
     _sender = sender ?? throw new ArgumentNullException(nameof(sender));
 }
예제 #2
0
 public StdInChannel(MessageSender sender, MessageReceiver receiver)
 {
     _sender   = sender ?? throw new ArgumentNullException(nameof(sender));
     _receiver = receiver ?? throw new ArgumentNullException(nameof(sender));
 }