/// <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)); }
/// <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);