private void Dispose(bool disposing) { try { if (!this.disposed && disposing) { if (this.xInput != null) { this.xInput = null; } if (this.xOutput != null) { this.xOutput = null; } if (this.stream != null) { this.stream = null; } } } finally { this.disposed = true; } }
public UnsafeNativeMethods.xSessionOutput GetOutputDelegate() { this.CheckDisposed(); if (this.xOutput == null) { this.xOutput = new UnsafeNativeMethods.xSessionOutput(this.Output); } return(this.xOutput); }