Пример #1
0
 protected ProtocolDiagnosticEventBase(ProtocolDiagnosticEventBase other)
     : this(other.Source,
            other.Url,
            other.HeaderDuration,
            other.HttpStatusCode,
            other.IsRetry,
            other.IsCancelled,
            other.IsLastAttempt)
 {
 }
Пример #2
0
 internal ProtocolDiagnosticEvent(
     DateTime timestamp,
     TimeSpan eventDuration,
     long bytes,
     bool isSuccess,
     ProtocolDiagnosticEventBase eventBase)
     : base(eventBase)
 {
     Timestamp     = timestamp;
     EventDuration = eventDuration;
     Bytes         = bytes;
     IsSuccess     = isSuccess;
 }