메소드 | 설명 | |
---|---|---|
AutoLock ( ) : System |
Creates a new AutoLock using the new AutoLock as the monitor for locking.
|
|
AutoLock ( object lockObject ) : System |
Creates a new AutoLock using the supplied object as the monitor for locking.
|
|
Lock ( ) : |
Locks the current object's monitor.
|
|
Unlock ( ) : |
Unlocks the current object's monitor.
|
메소드 | 설명 | |
---|---|---|
IAutoLock ( ) : IAutoLock |
Locks the current object's monitor.
|
|
IDisposable ( ) : void |
Unlocks the current object's monitor.
|
public AutoLock ( object lockObject ) : System | ||
lockObject | object | The object for locking |
리턴 | System |