public void UnlockRegion(long offset, long cb, int lockType) { this.CheckDisposed("UnlockRegion"); MapiStreamWrapper.CallMapi("UnlockRegion", this, this.session, delegate { this.mapiStream.UnlockRegion(offset, cb, lockType); }); }
public override void Write(byte[] buffer, int offset, int count) { this.CheckDisposed("Write"); MapiStreamWrapper.CallMapi("Write", this, this.session, delegate { this.mapiStream.Write(buffer, offset, count); }); }
public override void Flush() { this.CheckDisposed("Flush"); MapiStreamWrapper.CallMapi("Flush", this, this.session, delegate { this.mapiStream.Flush(); }); }
public override void SetLength(long length) { this.CheckDisposed("SetLength"); MapiStreamWrapper.CallMapi("SetLength", this, this.session, delegate { this.mapiStream.SetLength(length); }); }
protected override void Dispose(bool isDisposing) { base.Dispose(isDisposing); if (isDisposing) { this.isDisposed = true; this.disposeTracker.Dispose(); MapiStreamWrapper.CallMapi("Dispose", this, this.session, delegate { this.mapiStream.Dispose(); }); } }