Tungsten
IStateLockerTLocker, TStateInLock Method (FuncTState, TState) |
Perform some function in a lock
Namespace: W.Threading.Lockers
Assembly: Tungsten.Threading.Lockers (in Tungsten.Threading.Lockers.dll) Version: 2.0.1
Syntax
C#
TState InLock( Func<TState, TState> func )
Parameters
- func
- Type: SystemFuncTState, TState
The function to perform
Return Value
Type: TStateThe result of the function
See Also