public SendPort(BizTalkSendPort port) { if (port == null) { throw new ArgumentNullException("port"); } BizTalkSendPort = port; }
public SendPort(BizTalkSendPort port) { BizTalkSendPort = port ?? throw new ArgumentNullException(nameof(port)); }