IsTrue Method
Definition
IsTrue(bool)
Determines whether the specified value is true.
public static bool IsTrue(bool value)
Parameters
valueboolThe value to verify is
true.
Returns
- bool
trueif the specifiedvalueistrue; otherwise,false.
IsTrue(bool, Action)
Invokes the delegate expression when value of condition is true.
public static void IsTrue(bool condition, Action expression)