C# Class Unity.Mvc.Wcf.ReaderWriterLockSlimWrapper

Convenience wrapper around the ReaderWriterLockSlim class which enables managing locks with C#'s "using" statement.
Inheritance: IDisposable
显示文件 Open project: gzak/Unity.Mvc.Wcf

Public Methods

Method Description
Dispose ( ) : void
GetReadLock ( ) : IDisposable
GetUpgradeableReadLock ( ) : IDisposable
GetWriteLock ( ) : IDisposable
ReaderWriterLockSlimWrapper ( ) : System
ReaderWriterLockSlimWrapper ( LockRecursionPolicy recursionPolicy ) : System

Method Details

Dispose() public method

public Dispose ( ) : void
return void

GetReadLock() public method

public GetReadLock ( ) : IDisposable
return IDisposable

GetUpgradeableReadLock() public method

public GetUpgradeableReadLock ( ) : IDisposable
return IDisposable

GetWriteLock() public method

public GetWriteLock ( ) : IDisposable
return IDisposable

ReaderWriterLockSlimWrapper() public method

public ReaderWriterLockSlimWrapper ( ) : System
return System

ReaderWriterLockSlimWrapper() public method

public ReaderWriterLockSlimWrapper ( LockRecursionPolicy recursionPolicy ) : System
recursionPolicy LockRecursionPolicy
return System