예제 #1
0
 /// <summary>
 /// Returns true if it can handle the path, false otherwise
 /// </summary>
 /// <param name="Path">The path to check against</param>
 /// <returns>True if it can handle the path, false otherwise</returns>
 public bool CanHandle(string Path)
 {
     return(HandleRegex.IsMatch(Path));
 }
예제 #2
0
 /// <summary>
 /// Returns true if it can handle the path, false otherwise
 /// </summary>
 /// <param name="path">The path to check against</param>
 /// <returns>True if it can handle the path, false otherwise</returns>
 public bool CanHandle(string path) => !string.IsNullOrEmpty(path) && HandleRegex.IsMatch(path);