C# Класс CCNet.Build.Common.ArgumentProperties

Works with command line properties.
Наследование: IConfigReader
Показать файл Открыть проект

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

Метод Описание
Add ( string key, string value ) : void

Adds a new property.

ArgumentProperties ( ) : System

Initializes a new instance.

Contains ( string key ) : bool

Checks whether specified property exists.

GetValue ( string key ) : string

Gets configuration value by specified key. Returns null if value does not exist.

Parse ( IEnumerable arguments ) : void

Parses a list of argument properties.

Remove ( string key ) : void

Removes specified property.

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

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

Adds a new property.
public Add ( string key, string value ) : void
key string
value string
Результат void

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

Initializes a new instance.
public ArgumentProperties ( ) : System
Результат System

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

Checks whether specified property exists.
public Contains ( string key ) : bool
key string
Результат bool

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

Gets configuration value by specified key. Returns null if value does not exist.
public GetValue ( string key ) : string
key string
Результат string

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

Parses a list of argument properties.
public Parse ( IEnumerable arguments ) : void
arguments IEnumerable
Результат void

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

Removes specified property.
public Remove ( string key ) : void
key string
Результат void