Implementation of a lock that waits while a target object is busy. More...
Public Member Functions | |
| BusyLocker (INotifyBusy target, TimeSpan timeout) | |
| Creates an instance of the object. More... | |
| void | WaitOne () |
| Waits for the target object to become not busy. More... | |
| void | Dispose () |
| Disposes the object. More... | |
Implementation of a lock that waits while a target object is busy.
Definition at line 52 of file BusyLock.cs.
| Csla.Threading.BusyLocker.BusyLocker | ( | INotifyBusy | target, |
| TimeSpan | timeout | ||
| ) |
Creates an instance of the object.
| target | Target object. |
| timeout | Timeout value. |
Definition at line 63 of file BusyLock.cs.
| void Csla.Threading.BusyLocker.Dispose | ( | ) |
Disposes the object.
Definition at line 108 of file BusyLock.cs.
| void Csla.Threading.BusyLocker.WaitOne | ( | ) |
Waits for the target object to become not busy.
Definition at line 73 of file BusyLock.cs.