Table of Contents

Class ArgumentEscaper

Namespace
McMaster.Extensions.CommandLineUtils
Assembly
McMaster.Extensions.CommandLineUtils.dll

A utility for escaping arguments for new processes.

public static class ArgumentEscaper
Inheritance
object
ArgumentEscaper

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

args IEnumerable<string>

The arguments

Returns

string

A single string of escaped arguments

Remarks