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

Tungsten Suite

IStateLockerTLocker, TStateInLock Method (ActionTState)

Perform some action in a lock

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

Parameters

action
Type: SystemActionTState
The action to perform
See Also