C# Class CCNet.Build.Common.ArgumentProperties

Works with command line properties.
Inheritance: IConfigReader
Afficher le fichier Open project: shuruev/CCNet.Extensions

Méthodes publiques

Méthode Description
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.

Method Details

Add() public méthode

Adds a new property.
public Add ( string key, string value ) : void
key string
value string
Résultat void

ArgumentProperties() public méthode

Initializes a new instance.
public ArgumentProperties ( ) : System
Résultat System

Contains() public méthode

Checks whether specified property exists.
public Contains ( string key ) : bool
key string
Résultat bool

GetValue() public méthode

Gets configuration value by specified key. Returns null if value does not exist.
public GetValue ( string key ) : string
key string
Résultat string

Parse() public méthode

Parses a list of argument properties.
public Parse ( IEnumerable arguments ) : void
arguments IEnumerable
Résultat void

Remove() public méthode

Removes specified property.
public Remove ( string key ) : void
key string
Résultat void