Επεξεργασία

Κοινή χρήση μέσω


CmdLineOptionParser Class

Definition

Determines whether options that are specified to the command-line compiler jsc.exe are correctly formed, and reads the arguments if any are included.

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

public ref class CmdLineOptionParser
public class CmdLineOptionParser
type CmdLineOptionParser = class
Public Class CmdLineOptionParser
Inheritance
CmdLineOptionParser

Constructors

CmdLineOptionParser()

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

Initializes a new instance of the CmdLineOptionParser class.

Methods

Equals(Object)

Determines whether the specified object is equal to the current object.

(Inherited from Object)
GetHashCode()

Serves as the default hash function.

(Inherited from Object)
GetType()

Gets the Type of the current instance.

(Inherited from Object)
IsArgumentOption(String, String, String)

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

Gets the argument from the specified command-line option. Applies to options that can be specified by a short or long form of the option name, such as /r or /reference for /r[eference]:<file list>.

IsArgumentOption(String, String)

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

Gets the argument from the specified command-line option. Applies to options that have only one name, such as /out:<filename>.

IsBooleanOption(String, String, String)

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

Gets the + or - argument from the specified command-line option. Applies to options that can be specified by a short or long form of the option name.

IsBooleanOption(String, String)

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

Gets the + or - argument from the specified command-line option. Applies to options that have only one name, such as /debug[+|-].

IsSimpleOption(String, String)

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

Verifies that the specified option is correctly formed.

MemberwiseClone()

Creates a shallow copy of the current Object.

(Inherited from Object)
ToString()

Returns a string that represents the current object.

(Inherited from Object)

Applies to