This project is read-only.
Serializable, given an array, iterate it with NextCommand, then run ThenCommand when all iteration is finished.

IScriptCommand listCommand =
  CoreScriptCommands.ParsePath("{Profile}", tempDirectory, "Parent",			  
     CoreScriptCommands.List("Parent", "Children", "*", FileExplorer.Defines.ListOptions.File, 
	 ScriptCommands.ForEach("Children", "Child", 
await ScriptRunner.RunScriptAsync(new ParameterDic() {  
                { "Profile", FileSystemInfoExProfile.CreateNew() }                             
            }, listCommand);

Result :
A list of file in c:\temp

Last edited Jul 25, 2014 at 4:04 PM by lycj, version 2


No comments yet.