C# Class NekoKun.Core.CommandLineParser

Show file Open project: NekoProject/NekoKun

Protected Properties

Property Type Description
cmdClass System.Type
defaults List
methods System.Reflection.MethodInfo>.Dictionary

Public Methods

Method Description
CommandLineParser ( System CommandClass ) : System
Execute ( List args ) : void
Parse ( string args ) : List
ParseAndExecute ( string args ) : void
ShowHelpEntry ( string argf ) : void

Private Methods

Method Description
ExecuteInner ( System methods, ParsedArgument param, string argf ) : void

Method Details

CommandLineParser() public method

public CommandLineParser ( System CommandClass ) : System
CommandClass System
return System

Execute() public method

public Execute ( List args ) : void
args List
return void

Parse() public method

public Parse ( string args ) : List
args string
return List

ParseAndExecute() public method

public ParseAndExecute ( string args ) : void
args string
return void

ShowHelpEntry() public method

public ShowHelpEntry ( string argf ) : void
argf string
return void

Property Details

cmdClass protected property

protected Type,System cmdClass
return System.Type

defaults protected property

protected List defaults
return List

methods protected property

protected Dictionary methods
return System.Reflection.MethodInfo>.Dictionary