A Disposable that holds a Releasable (e.g. a Mutex) and releases it when disposed. When multiple scopes hold the same Lock, the Releasable is only released when all holders have disposed.
The object held by this Lock; usually a Mutex.
Readonly
Implements the Disposable interface.
A Disposable that holds a Releasable (e.g. a Mutex) and releases it when disposed. When multiple scopes hold the same Lock, the Releasable is only released when all holders have disposed.