// The bulk of the clean-up code is implemented in Dispose(bool) protected virtual void Dispose(bool disposing) { if (!disposing) return; // free managed resources if (_appCatalog != null) { _appCatalog.Dispose(); _appCatalog = null; } if (_bandCatalog != null) { _bandCatalog.Dispose(); _bandCatalog = null; } }
// The bulk of the clean-up code is implemented in Dispose(bool) protected virtual void Dispose(bool disposing) { if (!disposing) { return; } // free managed resources if (_appCatalog != null) { _appCatalog.Dispose(); _appCatalog = null; } if (_bandCatalog != null) { _bandCatalog.Dispose(); _bandCatalog = null; } }