public ReceivePort(BizTalkReceivePort port) { if (port == null) { throw new ArgumentNullException("port"); } BizTalkReceivePort = port; ReceiveLocations = new ReceiveLocationCollection(BizTalkReceivePort.ReceiveLocations); }
public ReceivePort(BizTalkReceivePort port) { BizTalkReceivePort = port ?? throw new ArgumentNullException(nameof(port)); ReceiveLocations = new ReceiveLocationCollection(BizTalkReceivePort.ReceiveLocations); }