CommandifiedListTPerformSyncedActionTFunc Method (FuncTFunc) |
Performs the specified action, either inside a lock on
SyncRoot if this list is Synchronized, or normally, if this list isn't synchronized.
Namespace:
SD.Tools.Algorithmia.GeneralDataStructures
Assembly:
SD.Tools.Algorithmia (in SD.Tools.Algorithmia.dll) Version: 1.4.0.0 (1.4.19.0711)
Syntax protected TFunc PerformSyncedAction<TFunc>(
Func<TFunc> toPerform
)
Protected Function PerformSyncedAction(Of TFunc) (
toPerform As Func(Of TFunc)
) As TFunc
Parameters
- toPerform
- Type: SystemFuncTFunc
To perform.
Type Parameters
- TFunc
- The type of the element to return
Return Value
Type:
TFuncthe result of toPerform
See Also