Ejemplo n.º 1
0
 /// <summary>
 /// Expects a file or folder to 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 ITo <string> to,
     string customMessage)
 {
     return(to.Exist(() => customMessage));
 }
Ejemplo n.º 2
0
 /// <summary>
 /// Expects a file or folder to exist at the provided path
 /// </summary>
 /// <param name="to"></param>
 /// <returns></returns>
 public static IStringMore Exist(
     this ITo <string> to
     )
 {
     return(to.Exist(NULL_STRING));
 }