C# Class OSharp.Core.Threading.Tasks.AsyncLock

异步锁
ファイルを表示 Open project: i66soft/osharp Class Usage Examples

Public Methods

Method Description
AsyncLock ( ) : System

初始化一个AsyncLock类型的新实例

LockAsync ( ) : Task

异步锁定

Method Details

AsyncLock() public method

初始化一个AsyncLock类型的新实例
public AsyncLock ( ) : System
return System

LockAsync() public method

异步锁定
public LockAsync ( ) : Task
return Task