Created
March 8, 2018 06:35
-
-
Save JeremyKuhne/de0ebe352f984767103c9cd970aedd37 to your computer and use it in GitHub Desktop.
File name enumerable example
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
IEnumerable<string> fileNames = | |
new FileSystemEnumerable<string>( | |
@"C:\test", | |
(ref FileSystemEntry entry) => entry.FileName.ToString()) | |
{ | |
ShouldIncludePredicate = (ref FileSystemEntry entry) => !entry.IsDirectory | |
}; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment