StateLocker(TLocker, TState).InLock Method (Action(TState))

Tungsten Suite

StateLockerTLocker, TStateInLock Method (ActionTState)

Performs an action from within a lock, passing in the current state

Namespace:  W.Threading.Lockers
Assembly:  Tungsten.Threading.Lockers (in Tungsten.Threading.Lockers.dll) Version: 2.0.1
Syntax
C#
public void InLock(
	Action<TState> action
)

Parameters

action
Type: SystemActionTState
The action to run

Implements

IStateLockerTLocker, TStateInLock(ActionTState)
See Also