Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.


Excerpt

The method that will run when a <see cref="CaptureImporter"/> is picked up by the engine.


Code Block
public abstract List<string> Import();

Classes: 


Returns

List<string>

List of string file paths.


Example

The following example demonstrates 

Code Block
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.