public PlainMessage(TargetInformation from, TargetInformation to, MessageBody messageBody) { From = from; To = to; Mb = messageBody; }
public PlainMessage CreateMessage(TargetInformation from, TargetInformation to, MessageBody msg) { PlainMessage message = new PlainMessage(from, to, msg); return(message); }