public void Write()
 {
     while (readStream.IsDataAvailable())
     {
         T item = readStream.ReadFromStream();
         writeStream.WriteToStream(item);
     }
 }
Beispiel #2
0
 public void WriteToStream(I item)
 {
     writeStream.WriteToStream(adapter.Adapt(item));
 }