protected void Dispose(bool disposing) { if (disposed) { return; } if (disposing) { if (_metaPageFactory != null) { _metaPageFactory.Dispose(); } if (_indexPageFactory != null) { _indexPageFactory.Dispose(); } if (_dataPageFactory != null) { _dataPageFactory.Dispose(); } } disposed = true; }
protected virtual void Dispose(bool disposing) { if (disposing) { _metaPageFactory?.Dispose(); _indexPageFactory?.Dispose(); _dataPageFactory?.Dispose(); } }