Click or drag to resize

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
)

Parameters

toPerform
Type: SystemFuncT
To perform.

Type Parameters

T
The type of the element to return

Return Value

Type: T
the result of toPerform
See Also