| Overload | Description |
|---|---|
| DisposeGuardNotNull<TResult>(Func<TResult>) | Invokes the specified function returning a not-null value if the object is not disposed, throwing an exception otherwise. |
| DisposeGuardNotNull<TResult>(Func<TResult>,Boolean) | Invokes the specified function returning a not-null value if the object is not disposed, optionally throwing an exception otherwise. |