This documentation is archived and is not being maintained.

CommandLineBuilderExtension Methods

This API supports the .NET Framework infrastructure and is not intended to be used directly from your code.

The CommandLineBuilderExtension type exposes the following members.

  NameDescription
Public method AppendFileNameIfNotNull Overloaded. Appends the command line with file name represented by the parameter, inserting quotation marks if necessary.
Public method AppendFileNamesIfNotNull Overloaded. Appends the command line with a list of file names, inserting quotation marks if necessary.
Protected method AppendFileNameWithQuoting Appends the command line with a file name, and surrounds the file name with quotation marks as necessary. (Inherited from CommandLineBuilder.)
Protected method AppendQuotedTextToBuffer (Inherited from CommandLineBuilder.)
Protected method AppendSpaceIfNotEmpty Adds a space to the specified string, given the string is not empty. (Inherited from CommandLineBuilder.)
Public method AppendSwitch Appends the command line with the specified switch. (Inherited from CommandLineBuilder.)
Public method AppendSwitchIfNotNull Overloaded. Appends the command line with a switch.
Public method AppendSwitchUnquotedIfNotNull Overloaded. Appends the command line with a switch, without attempting to encapsulate the switch parameters with quotation marks.
Protected method AppendTextUnquoted Appends the command line with string, without attempting to encapsulate the string with quotation marks. (Inherited from CommandLineBuilder.)
Protected method AppendTextWithQuoting Appends the command line with string, and surrounds the string with quotations marks as necessary. (Inherited from CommandLineBuilder.)
Public method Equals Determines whether the specified Object is equal to the current Object. (Inherited from Object.)
Protected method Finalize Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Inherited from Object.)
Public method GetHashCode Serves as a hash function for a particular type. (Inherited from Object.)
Protected method GetQuotedText Infrastructure. Returns a quoted string appropriate for appending to a command line.
Public method GetType Gets the type of the current instance. (Inherited from Object.)
Protected method IsQuotingRequired Determines whether the specified string parameter should be surrounded with quotation marks because it contains white space. (Inherited from CommandLineBuilder.)
Protected method MemberwiseClone Creates a shallow copy of the current Object. (Inherited from Object.)
Public method ToString Returns the command line as a string. (Inherited from CommandLineBuilder.)
Protected method VerifyThrowNoEmbeddedDoubleQuotes Returns an error if the command line parameter contains a double-quote (") character. Because double quotes are illegal in command line parameters, this method helps prevent parameter injection attacks. (Inherited from CommandLineBuilder.)
Top
Show: