Created
August 16, 2019 09:39
-
-
Save bjoerntx/22d477ed78d48fb6fe387995c78a8b95 to your computer and use it in GitHub Desktop.
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
// read all templates | |
String[] files = Directory.GetFiles(sTemplateFolder); | |
// loop through all files parallel | |
Parallel.ForEach(files, (currentFile) => | |
{ | |
MergeDocument(currentFile, report); // merge template | |
}); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment