public void ResetPosition() { Streams.ForEach(s => { if (s.CanSeek) { s.Position = 0; } }); }
public void Dispose() { Streams.ForEach(s => { if (s != null) { s.Dispose(); } }); }
public void Dispose() { lock (this) { if (!_disposed) { Streams.ForEach(s => s.Dispose()); _disposed = true; } } }