C# Класс Prebuild.Core.Utilities.CommandLineCollection

The CommandLine class parses and interprets the command-line arguments passed to prebuild.
Показать файл Открыть проект Примеры использования класса

Открытые методы

Метод Описание
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