SetArguments(IEnumerable, Boolean) Method

Definition

Assembly CliInvoke.Core.dll

Sets the arguments to pass to the executable.

IProcessConfigurationBuilder SetArguments(IEnumerable<string> arguments, bool escapeArguments = true)

Parameters

arguments
IEnumerable<String>

The arguments to pass to the executable.

escapeArguments
Boolean

Whether to escape the arguments if escape characters are detected.

Returns

IProcessConfigurationBuilder
The new IProcessConfigurationBuilder object with the specified arguments.