CmisSync.Lib.Streams.TransmissionStream.Dispose C# (CSharp) Метод

Dispose() защищенный Метод

protected Dispose ( bool disposing ) : void
disposing bool
Результат void
        protected override void Dispose(bool disposing) {
            if (!this.disposed) {
                if (disposing) {
                    if (this.pause != null) {
                        this.pause.Resume();
                        this.pause.Dispose();
                    }

                    if (this.progress != null) {
                        this.progress.Dispose();
                    }

                    if (this.bandwidthNotify != null) {
                        this.bandwidthNotify.Dispose();
                    }

                    if (this.abort != null) {
                        this.abort.Dispose();
                    }
                }

                this.disposed = true;
            }

            base.Dispose(disposing);
        }
    }