ACAT.Lib.Core.AbbreviationsManagement.Abbreviations.Dispose C# (CSharp) Method

Dispose() protected method

Disposer. Release resources and cleanup.
protected Dispose ( bool disposing ) : void
disposing bool true to dispose managed resources
return void
        protected virtual void Dispose(bool disposing)
        {
            // Check to see if Dispose has already been called.
            if (!_disposed)
            {
                Log.Debug();

                if (disposing)
                {
                    foreach (Abbreviation abbr in _abbreviationList.Values)
                    {
                        abbr.Dispose();
                    }

                    _abbreviationList.Clear();
                }

                // Release unmanaged resources.
            }

            _disposed = true;
        }

Same methods

Abbreviations::Dispose ( ) : void