Example #1
0
        /// <summary>
        /// Disposes this object and properly cleans up resources.
        /// </summary>
        protected void Dispose(bool disposing)
        {
            if (!_isDisposed)
            {
                if (disposing)
                {
                    _predictionRepository.Dispose();
                    _quoteService.Dispose();
                    _companyService.Dispose();
                    _datasetService.Dispose();
                    _networkConfigurationService.Dispose();
                }

                _isDisposed = true;
            }
        }
Example #2
0
 public void Cleanup()
 {
     _repository.Dispose();
     _service.Dispose();
 }