public Boolean Wait(Object obj, TimeSpan timeout, Boolean exitContext) { BeforeWait?.Invoke(); return(Monitor.Wait(obj, timeout, exitContext)); }
public void Wait(Object obj) { BeforeWait?.Invoke(); Monitor.Wait(obj); }