C# Class Rebel.Framework.WriteLockDisposable

Provides a convenience methodology for implementing locked access to resources.
Intended as an infrastructure class.
Inheritance: IDisposable
显示文件 Open project: RebelCMS/rebelcmsxu5

Public Methods

Method Description
WriteLockDisposable ( ReaderWriterLockSlim rwLock ) : System

Initializes a new instance of the WriteLockDisposable class.

Private Methods

Method Description
IDisposable ( ) : void

Method Details

WriteLockDisposable() public method

Initializes a new instance of the WriteLockDisposable class.
public WriteLockDisposable ( ReaderWriterLockSlim rwLock ) : System
rwLock System.Threading.ReaderWriterLockSlim The rw lock.
return System