IStateLocker(TLocker, TState) Interface
From Tungsten Suite
Tungsten
|
|
IStateLockerTLocker, TState Interface |
The required implementation for a stateful locking object
Namespace: W.Threading.Lockers
Assembly: Tungsten.Threading.Lockers (in Tungsten.Threading.Lockers.dll) Version: 2.0.1
C#
public interface IStateLocker<TLocker, TState> : ILocker<TLocker>, ILocker
Type Parameters
- TLocker
[Missing <typeparam name="TLocker"/> documentation for "T:W.Threading.Lockers.IStateLocker`2"]
- TState
[Missing <typeparam name="TState"/> documentation for "T:W.Threading.Lockers.IStateLocker`2"]
The IStateLockerTLocker, TState type exposes the following members.
| Name | Description | |
|---|---|---|
| Locker |
The object used for locking
(Inherited from ILockerTLocker.) |
| Name | Description | |
|---|---|---|
| InLock(Action) |
Perform some action in a lock
(Inherited from ILocker.) | |
| InLock(ActionTState) |
Perform some action in a lock
| |
| InLock(FuncTState, TState) |
Perform some function in a lock
| |
| InLockTResult(FuncTResult) |
Perform some function in a lock
(Inherited from ILocker.) | |
| InLockAsync(Action) | (Inherited from ILocker.) | |
| InLockAsync(ActionTState) | ||
| InLockAsync(FuncTState, TState) |
Asyncrhonously perform some function in a lock
| |
| InLockAsyncTResult(FuncTResult) |
Asyncrhonously perform some function in a lock
(Inherited from ILocker.) |