C# Класс DotNetMigrations.Core.ArgumentSet

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

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

Метод Описание
ContainsName ( string name ) : bool

Returns True/False whether this set contains and argument with the given name.

GetByName ( string name ) : string

Returns the value of the argument with the given name.

Parse ( string args ) : ArgumentSet

Parses an array of arguments into collections of named and anonymous arguments.

Приватные методы

Метод Описание
ArgumentSet ( ) : System
GetName ( string arg ) : string

Returns the name without the prefix.

IsName ( string arg ) : bool

Returns True/False whether the given argument is a name or not.

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

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

Returns True/False whether this set contains and argument with the given name.
public ContainsName ( string name ) : bool
name string
Результат bool

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

Returns the value of the argument with the given name.
public GetByName ( string name ) : string
name string
Результат string

Parse() публичный статический Метод

Parses an array of arguments into collections of named and anonymous arguments.
public static Parse ( string args ) : ArgumentSet
args string
Результат ArgumentSet