private void CacheFiles() { if (Files == null) { Files = new HashSet <FileReference>(Directory.EnumerateFileReferences()); } }
static void FindFilesInternal(DirectoryReference Directory, string[] ExcludedDirectorySuffixes, List <FileReference> FoundFiles) { foreach (FileReference File in Directory.EnumerateFileReferences()) { if (ShouldInclude(File, DefaultExcludedFileSuffixes)) { FoundFiles.Add(File); } } }