protected virtual void Dispose(bool disposing) { if (disposing && (this.logger != null)) { this.logger.Dispose(); this.logger = null; } }
protected virtual void Dispose(bool disposing) { if (!disposing || this.logger == null) { return; } this.logger.Dispose(); this.logger = (XmlLoaderLogger)null; }