C# Class Deveel.Configuration.Options

Inheritance: IOptions
Mostrar archivo Open project: deveel/deveel-cli Class Usage Examples

Private Properties

Property Type Description
IOptions IOption
IOptions IOption
IOptions IOptionGroup
IOptions IOptions
IOptions IOptions

Public Methods

Method Description
AddOption ( Option option ) : Options
AddOption ( string opt, bool hasArg, string description ) : Options
AddOption ( string opt, string longOpt, bool hasArg, String description ) : Options
AddOptionGroup ( OptionGroup group ) : Options
GetOption ( string opt ) : Option
GetOptionGroup ( Option opt ) : OptionGroup
HasOption ( String opt ) : bool

Private Methods

Method Description
IOptions ( ) : IOption
IOptions ( string optionNameOrId ) : IOption
IOptions ( IOption option ) : IOptionGroup
IOptions ( IOption option ) : IOptions
IOptions ( IOptionGroup group ) : IOptions

Method Details

AddOption() public method

public AddOption ( Option option ) : Options
option Option
return Options

AddOption() public method

public AddOption ( string opt, bool hasArg, string description ) : Options
opt string
hasArg bool
description string
return Options

AddOption() public method

public AddOption ( string opt, string longOpt, bool hasArg, String description ) : Options
opt string
longOpt string
hasArg bool
description String
return Options

AddOptionGroup() public method

public AddOptionGroup ( OptionGroup group ) : Options
group OptionGroup
return Options

GetOption() public method

public GetOption ( string opt ) : Option
opt string
return Option

GetOptionGroup() public method

public GetOptionGroup ( Option opt ) : OptionGroup
opt Option
return OptionGroup

HasOption() public method

public HasOption ( String opt ) : bool
opt String
return bool