Calls the delegate within a lock. The delegate must not, under any circumstances,
call Lock(Action< IStatistics> ) or do anything that might call Lock(Action<IStatistics>).
A deadlock may occur if it does. Does nothing if the statistics have not been
initialised.
Namespace: VirtualRadar.InterfaceAssembly: VirtualRadar.Interface (in VirtualRadar.Interface.dll) Version: 1.0.0.0 (1.0.0.0)
Syntaxvoid Lock(
Action<IStatistics> lockedDelegate
)
Sub Lock (
lockedDelegate As Action(Of IStatistics)
)
void Lock(
Action<IStatistics^>^ lockedDelegate
)
abstract Lock :
lockedDelegate : Action<IStatistics> -> unit
Parameters
- lockedDelegate
- Type: System.Action<IStatistics>
See Also