Example #1
0
 /// <summary>
 /// Tests if a boolean value is False
 /// </summary>
 /// <param name="continuation">Continuation to operate on</param>
 /// <param name="message">Custom message to include on failure</param>
 public static void False(
     this IBe <bool> continuation,
     string message)
 {
     continuation.False(() => message);
 }
Example #2
0
 /// <summary>
 /// Tests if a boolean value is False
 /// </summary>
 /// <param name="continuation">Continuation to operate on</param>
 public static void False(this IBe <bool?> continuation)
 {
     // ReSharper disable once ConditionIsAlwaysTrueOrFalse
     continuation.False(null as string);
 }