C# Class KonfDB.Infrastructure.Utilities.CommandArgs

Inheritance: IArguments
Show file Open project: punitganshani/KonfDB Class Usage Examples

Public Methods

Method Description
Add ( string parameter, string value ) : void
CommandArgs ( IEnumerable args ) : System
CommandArgs ( string command ) : System
ContainsKey ( string parameterName ) : bool
GetValue ( string parameterName, string defaultValue ) : string
ToString ( ) : string
this ( int parameterNumber ) : string
this ( string parameter ) : string

Private Methods

Method Description
Parse ( IEnumerable args ) : void

Method Details

Add() public method

public Add ( string parameter, string value ) : void
parameter string
value string
return void

CommandArgs() public method

public CommandArgs ( IEnumerable args ) : System
args IEnumerable
return System

CommandArgs() public method

public CommandArgs ( string command ) : System
command string
return System

ContainsKey() public method

public ContainsKey ( string parameterName ) : bool
parameterName string
return bool

GetValue() public method

public GetValue ( string parameterName, string defaultValue ) : string
parameterName string
defaultValue string
return string

ToString() public method

public ToString ( ) : string
return string

this() public method

public this ( int parameterNumber ) : string
parameterNumber int
return string

this() public method

public this ( string parameter ) : string
parameter string
return string