This factory provides a method to create an instance of the IFileSupervisor interface.
The factory method requires some input parameters to be able to create an IFileSupervisor instance.

  • The target information for the file to create (see ITargetInformation).

  • The logger of the task processor (see ILogger<>).

  • An event handler used as a callback method in case the FileSupervisor encounters an internal error in its background processing thread.

  • The ID of the user that started the workflow.

  • A cancellation token.