| Overload | Description | 
|---|---|
| WithLock(Action) | Acquires a lock with WorkbookView.GetLock, calls the specified delegate and then calls WorkbookView.ReleaseLock. | 
| WithLock<TResult>(Func<TResult>) | Calls GetLock(), runs the specified Func, calls ReleaseLock() and then returns the value returned by the Func. |