C# 클래스 Library.DeadlockMonitor.DeadlockMonitorCookie

Enables syntax close to that of lock(obj) {...}. Rather, the Lock method will return an instance of this IDisposable and in its Dispose method it will release the lock, thus enabling the syntax: using(DdMonitorFirstAttempt.Lock(obj)) {...}
상속: IDisposable
파일 보기 프로젝트 열기: Alliance-Network/Library

공개 메소드들

메소드 설명
DeadlockMonitorCookie ( object obj ) : System

Initializes the DdMonitorCookie.

Dispose ( ) : void

Exit the lock.

메소드 상세

DeadlockMonitorCookie() 공개 메소드

Initializes the DdMonitorCookie.
public DeadlockMonitorCookie ( object obj ) : System
obj object The object to be released.
리턴 System

Dispose() 공개 메소드

Exit the lock.
public Dispose ( ) : void
리턴 void