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