C# Class HermaFx.Threading.ReadWriterLockSlimExtensions

显示文件 Open project: evicertia/HermaFx

Public Methods

Method Description
GetReadLock ( this @lock ) : IDisposable
GetReadOnlyLock ( this @lock ) : IDisposable
GetWriteLock ( this @lock ) : IDisposable

Method Details

GetReadLock() public static method

public static GetReadLock ( this @lock ) : IDisposable
@lock this
return IDisposable

GetReadOnlyLock() public static method

public static GetReadOnlyLock ( this @lock ) : IDisposable
@lock this
return IDisposable

GetWriteLock() public static method

public static GetWriteLock ( this @lock ) : IDisposable
@lock this
return IDisposable