Пример #1
0
 public CountingStream(Stream stream, StreamCounter counters)
 {
     _stream  = stream;
     _counter = counters;
 }
Пример #2
0
 public StreamCounter Append(StreamCounter that)
 {
     BytesRead    += that.BytesRead;
     BytesWritten += that.BytesWritten;
     return(this);
 }