Microsoft.Protocols.TestSuites.BranchCache.BranchCacheFrameworkAdapter.Dispose C# (CSharp) Method

Dispose() protected method

Dispose(bool disposing) executes in two distinct scenarios. If disposing equals true, the method has been called directly or indirectly by a user's code. Managed and unmanaged resources can be disposed.
protected Dispose ( bool disposing ) : void
disposing bool /// If disposing equals false, the method has been called by the /// runtime from inside the finalizer and you should not reference /// other objects. Only unmanaged resources can be disposed. ///
return void
        protected override void Dispose(bool disposing)
        {
            if (this.pccrrServer != null)
            {
                this.pccrrServer.Dispose();
            }

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

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

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

            base.Dispose(disposing);
        }