public FileSearcher(ICustomDirectoryInfoFactory customDirectoryInfoFactory, string directoryPath, Func <CustomFileItem, bool> func) { this.customDirectoryInfoFactory = customDirectoryInfoFactory; DirectoryPath = directoryPath; FileFilterDelegate = func; }
public FileSearcher(ICustomDirectoryInfoFactory customDirectoryInfoFactory, string directoryPath) : this(customDirectoryInfoFactory, directoryPath, (file) => { return(true); }) { }