HslReadWriteLock 类 |
命名空间: HslCommunication.Core
HslReadWriteLock 类型公开以下成员。
名称 | 说明 | |
---|---|---|
![]() | HslReadWriteLock |
实例化一个读写锁的对象
|
名称 | 说明 | |
---|---|---|
![]() | Dispose |
释放资源
|
![]() | Enter |
根据读写情况请求锁
|
![]() | Equals | Determines whether the specified object is equal to the current object. (继承自 Object。) |
![]() | GetHashCode | Serves as the default hash function. (继承自 Object。) |
![]() | GetType | Gets the Type of the current instance. (继承自 Object。) |
![]() | Leave |
释放锁,将根据锁状态自动区分读写锁
|
![]() | ToString |
返回本对象的描述字符串
(重写 ObjectToString.) |
名称 | 说明 | |
---|---|---|
![]() | ToJsonString |
获取当前对象的JSON格式表示的字符串。 (由 HslExtension 定义。)Gets the string represented by the JSON format of the current object. |