SimpleHybirdLock 方法 |
SimpleHybirdLock 类型公开以下成员。
名称 | 说明 | |
---|---|---|
![]() | Dispose | Performs application-defined tasks associated with freeing, releasing, or resetting unmanaged resources. |
![]() | Enter |
获取锁,可以指定获取锁的超时时间,如果指定的时间没有获取锁,则返回False,反之,返回True To acquire a lock, you can specify the timeout period for acquiring a lock, return False if the specified time does not acquire a lock, and vice versa, return True |
![]() | 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 |
离开锁 Leave the lock |
![]() | ToString | Returns a string that represents the current object. (重写 ObjectToString.) |
名称 | 说明 | |
---|---|---|
![]() | ToJsonString |
获取当前对象的JSON格式表示的字符串。 (由 HslExtension 定义。)Gets the string represented by the JSON format of the current object. |