Пример #1
0
 internal ReplayReport(
     Exception failureEx,
     Exception replayEx,
     TracingStream globalTraceStream,
     TracingStream traceStream,
     int replayBufferSize,
     int eventsReplayed,
     long eventsBeforeLockdown,
     string replayPreVerificationReport,
     bool failedVerifyOnReplay,
     string replayVerificationReport,
     string lastCheckpointReport)
 {
     _failureException = failureEx;
     _replayException = replayEx;
     _globalTraceReport = new List<StreamTraceRecord>(globalTraceStream.Log);
     _traceReport = new List<StreamTraceRecord>(traceStream.Log);
     _replayBufferSize = replayBufferSize;
     _eventsReplayed = eventsReplayed;
     _eventsBeforeLockdown = eventsBeforeLockdown;
     _replayPreVerificationReport = replayPreVerificationReport;
     _failedVerifyOnReplay = failedVerifyOnReplay;
     _replayVerificationReport = replayVerificationReport;
     _lastCheckpointReport = lastCheckpointReport;
 }
Пример #2
0
 internal ReplayReport(
     Exception failureEx,
     Exception replayEx,
     TracingStream globalTraceStream,
     TracingStream traceStream,
     int replayBufferSize,
     int eventsReplayed,
     long eventsBeforeLockdown,
     string replayPreVerificationReport,
     bool failedVerifyOnReplay,
     string replayVerificationReport,
     string lastCheckpointReport)
 {
     _failureException            = failureEx;
     _replayException             = replayEx;
     _globalTraceReport           = new List <StreamTraceRecord>(globalTraceStream.Log);
     _traceReport                 = new List <StreamTraceRecord>(traceStream.Log);
     _replayBufferSize            = replayBufferSize;
     _eventsReplayed              = eventsReplayed;
     _eventsBeforeLockdown        = eventsBeforeLockdown;
     _replayPreVerificationReport = replayPreVerificationReport;
     _failedVerifyOnReplay        = failedVerifyOnReplay;
     _replayVerificationReport    = replayVerificationReport;
     _lastCheckpointReport        = lastCheckpointReport;
 }