| Overload | Description |
|---|---|
| DisposeGuard<TResult>(Func<TResult>) | Invokes the specified function if the object is not disposed, throwing an exception otherwise. |
| DisposeGuard<TResult>(Func<TResult>,Boolean) | Invokes the specified function if the object is not disposed, optionally throwing an exception otherwise. |
| DisposeGuard(Action) | Invokes the specified action if the object is not disposed, throwing an exception otherwise. |
| DisposeGuard(Action,Boolean) | Invokes the specified action if the object is not disposed, optionally throwing an exception otherwise. |