Verify.IsTrue method

Throws InvalidOperationException if the parameter is not true.

public static void IsTrue(bool value)
parameter description
value The parameter to check.

Exceptions

exception condition
InvalidOperationException value is false.

See Also