C# Class sb.Core.App.Args

显示文件 Open project: slicebuild/sb Class Usage Examples

Public Methods

Method Description
Args ( string args ) : System
GetLayerParams ( ) : string[]
GetOption ( string name, string def ) : string
GetOsParam ( ) : string
GetOutPath ( ) : string
GetParam ( int pos, string def ) : string
SetOption ( string name, string value ) : void

Private Methods

Method Description
FindCommand ( string name ) : ICommand
ParseCommandAndParams ( string args ) : void
ParseOptionValue ( string args, int i, string arg, string optionName ) : int
ParseOptions ( string args ) : void

Method Details

Args() public method

public Args ( string args ) : System
args string
return System

GetLayerParams() public method

public GetLayerParams ( ) : string[]
return string[]

GetOption() public method

public GetOption ( string name, string def ) : string
name string
def string
return string

GetOsParam() public method

public GetOsParam ( ) : string
return string

GetOutPath() public method

public GetOutPath ( ) : string
return string

GetParam() public method

public GetParam ( int pos, string def ) : string
pos int
def string
return string

SetOption() public method

public SetOption ( string name, string value ) : void
name string
value string
return void