C# 클래스 NAnt.Core.Types.Argument

상속: Element
파일 보기 프로젝트 열기: skolima/NAnt 1 사용 예제들

Private Properties

프로퍼티 타입 설명
QuoteArgument string

공개 메소드들

메소드 설명
Argument ( ) : System

Initializes a new instance of the Argument class.

Argument ( FileInfo value ) : System

Initializes a new instance of the Argument class with the given file.

Argument ( NAnt.Core.Types.PathSet value ) : System

Initializes a new instance of the Argument class with the given path.

Argument ( string value ) : System

Initializes a new instance of the Argument class with the specified command-line argument.

ToString ( ) : string

Returns the argument as a string.

File and individual path elements will be quoted if necessary.

비공개 메소드들

메소드 설명
QuoteArgument ( string argument ) : string

Quotes a command line argument if it contains a single quote or a space.

메소드 상세

Argument() 공개 메소드

Initializes a new instance of the Argument class.
public Argument ( ) : System
리턴 System

Argument() 공개 메소드

Initializes a new instance of the Argument class with the given file.
public Argument ( FileInfo value ) : System
value System.IO.FileInfo
리턴 System

Argument() 공개 메소드

Initializes a new instance of the Argument class with the given path.
public Argument ( NAnt.Core.Types.PathSet value ) : System
value NAnt.Core.Types.PathSet
리턴 System

Argument() 공개 메소드

Initializes a new instance of the Argument class with the specified command-line argument.
public Argument ( string value ) : System
value string
리턴 System

ToString() 공개 메소드

Returns the argument as a string.
File and individual path elements will be quoted if necessary.
public ToString ( ) : string
리턴 string