CSLA.NET 5.4.2
CSLA .NET is a software development framework that helps you build a reusable, maintainable object-oriented business layer for your app.
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 object. More...
 
void WaitOne ()
 Waits for the target object to become not busy. More...
 
void Dispose ()
 Disposes the object. More...
 

Detailed Description

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

Definition at line 52 of file BusyLock.cs.

Constructor & Destructor Documentation

◆ BusyLocker()

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

Creates an instance of the object.

Parameters
targetTarget object.
timeoutTimeout value.

Definition at line 63 of file BusyLock.cs.

Member Function Documentation

◆ Dispose()

void Csla.Threading.BusyLocker.Dispose ( )

Disposes the object.

Definition at line 108 of file BusyLock.cs.

◆ WaitOne()

void Csla.Threading.BusyLocker.WaitOne ( )

Waits for the target object to become not busy.

Definition at line 73 of file BusyLock.cs.