C# 클래스 Prebuild.Core.Utilities.CommandLineCollection

The CommandLine class parses and interprets the command-line arguments passed to prebuild.
파일 보기 프로젝트 열기: aurora-sim/Aurora-Libs 1 사용 예제들

공개 메소드들

메소드 설명
CommandLineCollection ( string args ) : System

Create a new CommandLine instance and set some internal variables.

GetEnumerator ( ) : IDictionaryEnumerator

Returns an enumerator that can iterate through a collection.

GetEnumerator ( ) : IEnumerator

Returns an enumerator that can iterate through a collection.

WasPassed ( string arg ) : bool

Wases the passed.

this ( string index ) : string

Gets the parameter associated with the command line option

Returns null if option was not specified, null string if no parameter was specified, and the value if a parameter was specified

비공개 메소드들

메소드 설명
Parse ( ) : void

메소드 상세

CommandLineCollection() 공개 메소드

Create a new CommandLine instance and set some internal variables.
public CommandLineCollection ( string args ) : System
args string
리턴 System

GetEnumerator() 공개 메소드

Returns an enumerator that can iterate through a collection.
public GetEnumerator ( ) : IDictionaryEnumerator
리턴 IDictionaryEnumerator

GetEnumerator() 공개 메소드

Returns an enumerator that can iterate through a collection.
public GetEnumerator ( ) : IEnumerator
리턴 IEnumerator

WasPassed() 공개 메소드

Wases the passed.
public WasPassed ( string arg ) : bool
arg string The arg.
리턴 bool

this() 공개 메소드

Gets the parameter associated with the command line option
Returns null if option was not specified, null string if no parameter was specified, and the value if a parameter was specified
public this ( string index ) : string
index string
리턴 string