Class ArgumentEscaper
- Namespace
- McMaster.Extensions.CommandLineUtils
- Assembly
- McMaster.Extensions.CommandLineUtils.dll
A utility for escaping arguments for new processes.
public static class ArgumentEscaper
- Inheritance
-
objectArgumentEscaper
Methods
EscapeAndConcatenate(IEnumerable<string>)
Undo the processing which took place to create string[] args in Main, so that the next process will receive the same string[] args.
public static string EscapeAndConcatenate(IEnumerable<string> args)
Parameters
argsIEnumerable<string>The arguments
Returns
- string
A single string of escaped arguments