C# 클래스 CCNet.Build.Common.ArgumentProperties

Works with command line properties.
상속: IConfigReader
파일 보기 프로젝트 열기: shuruev/CCNet.Extensions

공개 메소드들

메소드 설명
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