Class ArgumentEscaper
A utility for escaping arguments for new processes.
Inheritance
System.Object
ArgumentEscaper
Namespace: McMaster.Extensions.CommandLineUtils
Assembly: McMaster.Extensions.CommandLineUtils.dll
Syntax
public static class ArgumentEscaper
Methods
| Improve this Doc View SourceEscapeAndConcatenate(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.
Declaration
public static string EscapeAndConcatenate(IEnumerable<string> args)
Parameters
Type | Name | Description |
---|---|---|
System.Collections.Generic.IEnumerable<System.String> | args | The arguments |
Returns
Type | Description |
---|---|
System.String | A single string of escaped arguments |