コード例 #1
0
 /// <summary>
 /// Expects a file or folder to not exist at the provided path
 /// </summary>
 /// <param name="to"></param>
 /// <param name="customMessage">Custom message to add to failure messages</param>
 /// <returns></returns>
 public static IStringMore Exist(
     this IStringNotAfterTo to,
     string customMessage)
 {
     return(to.Exist(() => customMessage));
 }
コード例 #2
0
 /// <summary>
 /// Expects a file or folder to not exist at the provided path
 /// </summary>
 /// <param name="to"></param>
 /// <returns></returns>
 public static IStringMore Exist(
     this IStringNotAfterTo to)
 {
     return(to.Exist(NULL_STRING));
 }