protected virtual void Dispose(bool disposing) { if (!this.disposed) { if (disposing) { // Dispose all managed resources here } // Dispose all unmanaged resources here. engine.Close(); // Disposing done disposed = true; } }
protected virtual void Dispose(bool disposing) { if (!this.disposed) { if (disposing) { // Dispose all managed resources here } // Dispose all unmanaged resources here. engine.Close(); // Disposing done disposed = true; } }