Example #1
0
 /// <summary>
 /// Continues to search for another string after a previous .Contains()
 /// </summary>
 /// <param name="continuation"></param>
 /// <param name="other"></param>
 /// <param name="customMessage"></param>
 /// <returns></returns>
 public static IStringPropertyContinuation Then(
     this IStringPropertyContinuation continuation,
     string other,
     string customMessage)
 {
     return(continuation.Then(other, () => customMessage));
 }
Example #2
0
 /// <summary>
 /// Continues to search for another string after a previous .Contains()
 /// </summary>
 /// <param name="continuation"></param>
 /// <param name="other"></param>
 /// <returns></returns>
 public static IStringPropertyContinuation Then(
     this IStringPropertyContinuation continuation,
     string other
     )
 {
     return(continuation.Then(other, null as string));
 }