Click or drag to resize
Akka.NETCancelableExtensionsCancelIfNotNull Method
If cancelable is not null it's canceled.

Namespace:  Akka.Actor
Assembly:  Akka (in Akka.dll) Version: 1.2.3.42 (1.2.3.42)
Syntax
public static void CancelIfNotNull(
	this ICancelable cancelable
)

Parameters

cancelable
Type: Akka.ActorICancelable
The cancelable. Will be canceled if it's not null

Usage Note

In Visual Basic and C#, you can call this method as an instance method on any object of type ICancelable. 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