Method GetNewWorkFile
GetNewWorkFile(string)
Gets a new non-existent file path that can be used for any intermediate work required by a FileProcessor or to store the final result. The file is not created automatically. Work files are automatically cleaned up after the processing pipeline completes but file processors can clean up intermediate work files earlier if they are no longer needed.
Declaration
public IAbsoluteFilePath GetNewWorkFile(string extension)
Parameters
| Type | Name | Description |
|---|---|---|
| string | extension | The file extension to use for the work file. Must be empty for no extension or start with a dot (e.g., ".jpg", ".png"). |
Returns
| Type | Description |
|---|---|
| IAbsoluteFilePath |