Esempio n. 1
0
        /// <summary></summary>
        public void Dispose()
        {
            // Require
            lock (_syncRoot)
            {
                if (_disposed == true) return;
                _disposed = true;
            }

            // Component
            _component.Dispose();

            // ReaderWriterLock
            _readerWriterLock.ExitReadLock();
        }
Esempio n. 2
0
 /// <summary></summary>
 protected void ExitReadLock()
 {
     _readerWriterLock.ExitReadLock();
 }