Example #1
0
 public bool CanAddPath(string path)
 {
     return(!string.IsNullOrEmpty(path) &&
            SearchPaths.All(existingPath => !existingPath.Path.Equals(path, StringComparison.OrdinalIgnoreCase)) &&
            FileSystem.PathExists(path));
 }