1 using System.Collections.Generic;
19 List<FileInfo> L =
new List<FileInfo>();
22 foreach (FileInfo FI
in PL)
24 if (!L.Any(x=>x.FullName==FI.FullName))
FileInfo GetFirstMatchingFile(Dictionary< string, string > ReplaceValues=null)
Gets the first matching file for the entries in the list.
FileInfo GetFirstMatchingFile(Dictionary< string, string > ReplaceValues=null)
Gets the first file matching the value of the Pattern property.
List< FileInfo > GetMatchingFiles(Dictionary< string, string > ReplaceValues=null)
Gets the files matching the value of the property Pattern.
A file pattern class used to lookup files matching a specified pattern.
List< FileInfo > GetMatchingFiles(Dictionary< string, string > ReplaceValues=null)
Gets the files matching one of the entries in this list