C# 클래스 ManagedFusion.TimedLock

Thanks to Eric Gunnerson and Phil Haack
파일 보기 프로젝트 열기: managedfusion/managedfusion 1 사용 예제들

공개 메소드들

메소드 설명
Dispose ( ) : void

Performs application-defined tasks associated with freeing, releasing, or resetting unmanaged resources.

Lock ( object o ) : TimedLock

Lock an object.

Lock ( object o, System.TimeSpan timeout ) : TimedLock

The object to lock.

비공개 메소드들

메소드 설명
TimedLock ( object o ) : System

Initializes a new instance of the TimedLock struct.

메소드 상세

Dispose() 공개 메소드

Performs application-defined tasks associated with freeing, releasing, or resetting unmanaged resources.
public Dispose ( ) : void
리턴 void

Lock() 공개 정적인 메소드

Lock an object.
public static Lock ( object o ) : TimedLock
o object The object to lock.
리턴 TimedLock

Lock() 공개 정적인 메소드

The object to lock.
///
public static Lock ( object o, System.TimeSpan timeout ) : TimedLock
o object The object to lock.
timeout System.TimeSpan The timeout.
리턴 TimedLock