ProcessConfigurationBuilder(String, Func<String, Boolean>?) Constructor

Definition

Assembly CliInvoke.dll

Initialises a new instance of the ProcessConfigurationBuilder class, which is used to build and configure a process.

public ProcessConfigurationBuilder(string targetFilePath, Func<string, bool>? argumentValidationLogic = null)

Parameters

targetFilePath
String

The file path of the target file to be executed.

argumentValidationLogic
Func<String, Boolean>

Optional validation logic applied to each argument added to the configuration. When omitted, a default null-check validation is used.