CSLA .NET 10.0.0
A home for your business logic
Loading...
Searching...
No Matches
Csla.Threading.BusyLocker Class Reference

Implementation of a lock that waits while a target object is busy. More...

Inheritance diagram for Csla.Threading.BusyLocker:

Public Member Functions

 BusyLocker (INotifyBusy target, TimeSpan timeout)
 Creates an instance of the type.
void WaitOne ()
 Waits for the target object to become not busy.
void Dispose ()
 Disposes the object.

Detailed Description

Implementation of a lock that waits while a target object is busy.

Constructor & Destructor Documentation

◆ BusyLocker()

Csla.Threading.BusyLocker.BusyLocker ( INotifyBusy target,
TimeSpan timeout )
inline

Creates an instance of the type.

Parameters
targetTarget object.
timeoutTimeout value.
Exceptions
ArgumentNullExceptiontarget is null.

Member Function Documentation

◆ Dispose()

void Csla.Threading.BusyLocker.Dispose ( )
inline

Disposes the object.

◆ WaitOne()

void Csla.Threading.BusyLocker.WaitOne ( )
inline

Waits for the target object to become not busy.


The documentation for this class was generated from the following file: