/// <summary>
 /// Tests if a value is null
 /// </summary>
 /// <param name="continuation">Continuation to operate on</param>
 /// <param name="customMessage">Custom message to include when failing</param>
 /// <typeparam name="T">Type of object being tested</typeparam>
 public static IMore <T> Null <T>(
     this IBe <T> continuation,
     string customMessage
     )
 {
     return(continuation.Null(() => customMessage));
 }
Пример #2
0
 public static void Null <T>(this IBe <T> continuation)
 {
     continuation.Null(null);
 }
 /// <summary>
 /// Tests if a value is null
 /// </summary>
 /// <param name="continuation">Continuation to operate on</param>
 /// <typeparam name="T">Type of object being tested</typeparam>
 public static IMore <T> Null <T>(this IBe <T> continuation)
 {
     return(continuation.Null(NULL_STRING));
 }