C# 클래스 FastFind.FastFindArgumentParser

Implements the command line parsing for the Fast Find program.
상속: ArgParser
파일 보기 프로젝트 열기: Wintellect/FastFileFinder

공개 메소드들

메소드 설명
FastFindArgumentParser ( ) : System

Initializes a new instance of the FastFindArgumentParser class.

OnUsage ( String errorInfo ) : void

Reports correct command line usage.

보호된 메소드들

메소드 설명
OnDoneParse ( ) : SwitchStatus

Called when parsing is finished so final sanity checking can be performed.

OnNonSwitch ( String value ) : SwitchStatus

Called when a non-switch value is parsed out.

OnSwitch ( String switchSymbol, String switchValue ) : SwitchStatus

Called when a switch is parsed out.

비공개 메소드들

메소드 설명
TestPath ( String pathToTest ) : SwitchStatus

Isolates the checking for the path parameter.

메소드 상세

FastFindArgumentParser() 공개 메소드

Initializes a new instance of the FastFindArgumentParser class.
public FastFindArgumentParser ( ) : System
리턴 System

OnDoneParse() 보호된 메소드

Called when parsing is finished so final sanity checking can be performed.
protected OnDoneParse ( ) : SwitchStatus
리턴 SwitchStatus

OnNonSwitch() 보호된 메소드

Called when a non-switch value is parsed out.
protected OnNonSwitch ( String value ) : SwitchStatus
value String /// The value parsed out. ///
리턴 SwitchStatus

OnSwitch() 보호된 메소드

Called when a switch is parsed out.
protected OnSwitch ( String switchSymbol, String switchValue ) : SwitchStatus
switchSymbol String /// The switch value parsed out. ///
switchValue String /// The value of the switch. For flag switches this is null/Nothing. ///
리턴 SwitchStatus

OnUsage() 공개 메소드

Reports correct command line usage.
public OnUsage ( String errorInfo ) : void
errorInfo String /// The string with the invalid command line option. ///
리턴 void