public ChunkWriteStreamFlusher(Stream stream, ICompression compression) { _stream = stream; _compression = compression; _flushStopwatch = SlimStopwatch.Create(); if (_compression != null) { _chunkCompressedBytes = new byte[ChunkSize + LengthSize]; } }
public SentReporter(ILogger logger) { _logger = logger; _stopwatch = SlimStopwatch.Create(); _timeSpan = TimeSpan.Zero; }