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.3.3.0 (1.3.18.0209)
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