ReaderWriterLocker.InLockAsync Method (LockTypeEnum, Action)

Tungsten Suite

ReaderWriterLockerInLockAsync Method (LockTypeEnum, Action)

Executes an action from within a ReaderWriterLockSlim

Namespace:  W.Threading.Lockers
Assembly:  Tungsten.Threading.Lockers (in Tungsten.Threading.Lockers.dll) Version: 2.0.1
Syntax
C#
public Task InLockAsync(
	LockTypeEnum lockType,
	Action action
)

Parameters

lockType
Type: W.Threading.LockersLockTypeEnum

[Missing <param name="lockType"/> documentation for "M:W.Threading.Lockers.ReaderWriterLocker.InLockAsync(W.Threading.Lockers.LockTypeEnum,System.Action)"]

action
Type: SystemAction
The action to run

Return Value

Type: Task

[Missing <returns> documentation for "M:W.Threading.Lockers.ReaderWriterLocker.InLockAsync(W.Threading.Lockers.LockTypeEnum,System.Action)"]

See Also