C# Class Sarcasmizer.CommandLine

Show file Open project: davidnemeti/Sarcasm

Public Methods

Method Description
CommandLine ( ) : System
FillParameterValues ( IEnumerable args ) : void
ShowHelp ( TextWriter tw ) : void

Private Methods

Method Description
GetAllParametersRecursive ( IEnumerable parameters ) : IEnumerable
GetParameterName ( IParameter parameter, string valueName = "" ) : string
GetParameterNameWithValue ( IParameter parameter ) : string
HandleParameterIfWithoutValue ( IParameter parameter ) : void
ShowHelp ( TextWriter tw, IEnumerable parameters, int depth ) : void
ToString ( ExampleParameter parameter ) : string

Method Details

CommandLine() public method

public CommandLine ( ) : System
return System

FillParameterValues() public method

public FillParameterValues ( IEnumerable args ) : void
args IEnumerable
return void

ShowHelp() public method

public ShowHelp ( TextWriter tw ) : void
tw System.IO.TextWriter
return void