public TraceItemReceivedEventArgs(IPAddress senderAddress, TraceItem traceItem) { if (senderAddress == null) throw new ArgumentNullException(nameof(senderAddress)); if (traceItem == null) throw new ArgumentNullException(nameof(traceItem)); SenderAddress = senderAddress; TraceItem = traceItem; }
public TraceItemReceivedEventArgs(IPAddress senderAddress, TraceItem traceItem) { if (senderAddress == null) { throw new ArgumentNullException(nameof(senderAddress)); } if (traceItem == null) { throw new ArgumentNullException(nameof(traceItem)); } SenderAddress = senderAddress; TraceItem = traceItem; }