Source/Csla/Threading/BusyLock.cs
/// <summary>
/// Wait until the specified object is not busy 
/// (IsBusy is false).
/// </summary>
/// <param name="obj">Target object.</param>
Wait until the specified object is not busy
(IsBusy is false).
Wait until the specified object is not busy ( IsBusy is false ) .
public static void WaitOne(INotifyBusy obj)
    {
      BusyLocker locker = new BusyLocker(obj, TimeSpan.FromMilliseconds(Timeout.Infinite));
      locker.WaitOne();
    }
public static void WaitOne ( INotifyBusy obj ) { BusyLocker locker = new BusyLocker ( obj , TimeSpan . FromMilliseconds ( Timeout . Infinite ) ) ; locker . WaitOne ( ) ; }
Wait until the specified object is not busy
(IsBusy is false).
Wait until the specified object is not busy ( IsBusy is false ) .
obj
INotifyBusy
None