예제 #1
0
        protected override void Dispose(bool disposing)
        {
            if (disposing)
            {
                _repo.Dispose();
            }

            base.Dispose(disposing);
        }
예제 #2
0
        /// <summary>
        /// Overriding Dispose method
        /// </summary>
        /// <param name="disposing">disposing</param>
        protected virtual void Dispose(bool disposing)
        {
            if (!this._disposed)
            {
                if (disposing)
                {
                    _repository.Dispose();
                    _apiHelper.Dispose();
                }
            }

            this._disposed = true;
        }
예제 #3
0
 public void Dispose()
 {
     _database.Dispose();
 }