Ejemplo n.º 1
0
 /// <summary>
 /// Tests if a string is empty
 /// </summary>
 /// <param name="continuation"></param>
 public static void Empty(this IBe <string> continuation)
 {
     continuation.Empty(NULL_STRING);
 }
Ejemplo n.º 2
0
 /// <summary>
 /// Tests if a string is empty, with a provided custom error message
 /// </summary>
 /// <param name="continuation">Continuation to operate on</param>
 /// <param name="customMessage">Custom message to include when failing</param>
 public static void Empty(
     this IBe <string> continuation,
     string customMessage)
 {
     continuation.Empty(() => customMessage);
 }