Import Method (CaptureImporter)
The method that will run when a <see cref="CaptureImporter"/> is picked up by the engine.
public abstract List<string> Import();
Classes:
Returns
List<string>
List of string file paths.
Example
The following example demonstrates
public override List<string> Import()
{
var directory = @"C:\Capture Files\";
return Directory.GetFiles(directory).ToList();
}
Remarks
In GlobalCapture, files targeted for import are consumed when they are spawned into a GlobalCapture process. This method behaves consistently. Any files targeted by this method will be removed from their target location at the same time as the processes are created for the files in GlobalCapture.