private void Dispose(bool isDisposing) { if (isDisposing) { lock (this.containerLock) { if (this.container != null) { this.container.Dispose(); } } } }