MonitorExtensions Class

Tungsten Suite

MonitorExtensions Class

Extensions to object to simplify locking with Monitor
Inheritance Hierarchy
SystemObject  W.Threading.LockersMonitorExtensions

Namespace:  W.Threading.Lockers
Assembly:  Tungsten.Threading.Lockers (in Tungsten.Threading.Lockers.dll) Version: 2.0.1
Syntax
C#
public static class MonitorExtensions

The MonitorExtensions type exposes the following members.

Methods
  NameDescription
Public methodStatic memberInLock(Object, Action)
Performs the action in a Monitor lock
Public methodStatic memberInLockTType(Object, FuncTType)
Performs the function in a Monitor lock
Public methodStatic memberInLockAsync(Object, Action)
Asynchronously performs the action in a Monitor lock
Public methodStatic memberInLockAsyncTType(Object, FuncTType)
Asynchronously performs the action in a Monitor lock
Public methodStatic memberLock
Performs a Monitor lock
Public methodStatic memberUnlock
Performs a Monitor unlock
Top
See Also