C# Class Bamboo.Prevalence.Collections.SerializableReaderWriterLock.WriterLockDisposer

Helper class to acquire/release a writer lock on a ReaderWriterList.
Inheritance: IDisposable
Exibir arquivo Open project: bamboo/Bamboo.Prevalence

Protected Properties

Property Type Description
_lock System.Threading.ReaderWriterLock

Public Methods

Method Description
Dispose ( ) : void

Releases the writer lock on the list.

WriterLockDisposer ( ReaderWriterLock lock_ ) : System

Acquires a writer lock on the list passed as argument.

Method Details

Dispose() public method

Releases the writer lock on the list.
public Dispose ( ) : void
return void

WriterLockDisposer() public method

Acquires a writer lock on the list passed as argument.
public WriterLockDisposer ( ReaderWriterLock lock_ ) : System
lock_ System.Threading.ReaderWriterLock
return System

Property Details

_lock protected_oe property

protected ReaderWriterLock,System.Threading _lock
return System.Threading.ReaderWriterLock