C# Класс idTech4.idCmdArgs

Command arguments.
Показать файл Открыть проект Примеры использования класса

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

Метод Описание
AppendArg ( string text ) : void
Clear ( ) : void
Get ( int idx ) : string

Gets the argument at the specified index.

Get ( int start, int end ) : string

Gets the specified range as a single string.

Get ( int start, int end, bool escapeArgs ) : string

Gets the specified range as a single string.

ToString ( ) : string
TokenizeString ( string text, bool keepAsStrings ) : void

Takes a string and breaks it up into arg tokens.

idCmdArgs ( ) : System
idCmdArgs ( string text, bool keepAsStrings ) : System

Описание методов

AppendArg() публичный Метод

public AppendArg ( string text ) : void
text string
Результат void

Clear() публичный Метод

public Clear ( ) : void
Результат void

Get() публичный Метод

Gets the argument at the specified index.
public Get ( int idx ) : string
idx int
Результат string

Get() публичный Метод

Gets the specified range as a single string.
public Get ( int start, int end ) : string
start int
end int
Результат string

Get() публичный Метод

Gets the specified range as a single string.
public Get ( int start, int end, bool escapeArgs ) : string
start int
end int
escapeArgs bool
Результат string

ToString() публичный Метод

public ToString ( ) : string
Результат string

TokenizeString() публичный Метод

Takes a string and breaks it up into arg tokens.
public TokenizeString ( string text, bool keepAsStrings ) : void
text string
keepAsStrings bool true to only seperate tokens from whitespace and comments, ignoring punctuation.
Результат void

idCmdArgs() публичный Метод

public idCmdArgs ( ) : System
Результат System

idCmdArgs() публичный Метод

public idCmdArgs ( string text, bool keepAsStrings ) : System
text string
keepAsStrings bool
Результат System