Exemplo n.º 1
0
 /// <summary>
 /// Checks if the given file is part of the working set
 /// </summary>
 /// <param name="File">File to check</param>
 /// <returns>True if the file is part of the working set, false otherwise</returns>
 public bool Contains(FileReference File)
 {
     WaitForBackgroundProcess();
     if (Files.Contains(File) || Directories.Any(x => File.IsUnderDirectory(x)))
     {
         return(true);
     }
     if (Inner != null && Inner.Contains(File))
     {
         return(true);
     }
     return(false);
 }