IsFalse Method
Definition
IsFalse(Func<bool>)
Indicates that the specified function delegate condition must evaluate false.
public ExceptionHandler<TException> IsFalse(Func<bool> condition)
Parameters
Returns
- ExceptionHandler<TException>
An ExceptionHandler<TException> with the specified
condition.
Exceptions
- ArgumentNullException
conditioncannot be null.
IsFalse<TResult>(TesterFunc<TResult, bool>)
Indicates that the specified function delegate condition must evaluate false.
public ExceptionHandler<TException, TResult> IsFalse<TResult>(TesterFunc<TResult, bool> condition)
Parameters
conditionTesterFunc<TResult, bool>The function delegate that determines if an Exception is thrown.
Returns
- ExceptionHandler<TException, TResult>
An ExceptionHandler<TException> with the specified
condition.
Type Parameters
TResultThe type of the out result value of the function delegate
condition.
Exceptions
- ArgumentNullException
conditioncannot be null.