Click or drag to resize

LockableExtensionsCall Method (ILockable, Action)

Executes an observable call within the scope of the lock.

Namespace:  com.espertech.esper.compat.threading.locks
Assembly:  NEsper.Compat (in NEsper.Compat.dll) Version: 8.0.0.0
Syntax
C#
public static void Call(
	this ILockable lockable,
	Action observableCall
)

Parameters

lockable
Type: com.espertech.esper.compat.threading.locksILockable
The lockable.
observableCall
Type: SystemAction
The observable call.

Usage Note

In Visual Basic and C#, you can call this method as an instance method on any object of type ILockable. When you use instance method syntax to call this method, omit the first parameter. For more information, see Extension Methods (Visual Basic) or Extension Methods (C# Programming Guide).
See Also