public StreamWrapper (GMime.Stream stream) { if (stream == null) throw new ArgumentNullException (); this.stream = stream; }
public override void Close () { if (stream == null) throw new ObjectDisposedException ("GMimeStream", "The stream has been closed"); stream.Dispose (); stream = null; }
public StreamWrapper(GMime.Stream stream) { if (stream == null) { throw new ArgumentNullException(); } this.stream = stream; }
public override void Close() { if (stream == null) { throw new ObjectDisposedException("GMimeStream", "The stream has been closed"); } stream.Dispose(); stream = null; }