C# 클래스 RJH.CommandLineHelper.Parser

Implementation of a command-line parsing class. Is capable of having switches registered with it directly or can examine a registered class for any properties with the appropriate attributes appended to them.
파일 보기 프로젝트 열기: suntong/lang 1 사용 예제들

공개 메소드들

메소드 설명
AddSwitch ( string name, string description ) : void
InternalValue ( string name ) : object
Parse ( ) : bool
Parser ( string commandLine ) : System
Parser ( string commandLine, object classForAutoAttributes ) : System
this ( string name ) : object

비공개 메소드들

메소드 설명
ExtractApplicationName ( ) : void
HandleSwitches ( ) : void
SplitParameters ( ) : void

메소드 상세

AddSwitch() 공개 메소드

public AddSwitch ( string name, string description ) : void
name string
description string
리턴 void

InternalValue() 공개 메소드

public InternalValue ( string name ) : object
name string
리턴 object

Parse() 공개 메소드

public Parse ( ) : bool
리턴 bool

Parser() 공개 메소드

public Parser ( string commandLine ) : System
commandLine string
리턴 System

Parser() 공개 메소드

public Parser ( string commandLine, object classForAutoAttributes ) : System
commandLine string
classForAutoAttributes object
리턴 System

this() 공개 메소드

public this ( string name ) : object
name string
리턴 object