Table of Contents

Class LockUtil

Namespace
Hi.Parallels
Assembly
HiGeom.dll

Utility class for object locking operations.

public static class LockUtil
Inheritance
LockUtil
Inherited Members

Methods

Lock(object)

Acquires a lock on the specified object and returns a disposable token that releases the lock when disposed.

public static IDisposable Lock(this object obj)

Parameters

obj object

The object to lock.

Returns

IDisposable

A disposable token that releases the lock when disposed.