Table of Contents

IsTrue Method

Definition

Namespace
Cuemon
Assemblies
Cuemon.Kernel.dll
Source
src/Cuemon.Kernel/Condition.cs

IsTrue(bool)

Determines whether the specified value is true.

public static bool IsTrue(bool value)

Parameters

value bool

The value to verify is true.

Returns

bool

true if the specified value is true; otherwise, false.

IsTrue(bool, Action)

Invokes the delegate expression when value of condition is true.

public static void IsTrue(bool condition, Action expression)

Parameters

condition bool

When true, the expression delegate is invoked.

expression Action

The delegate that is invoked when condition is true.