C# Class NMaier.GetOptNet.GetOpt

Datei anzeigen Open project: nmaier/getoptnet Class Usage Examples

Public Methods

Method Description
Update ( IEnumerable args ) : void

Updates the parsed argument collection, but does not yet assign it back. See Also: GetOpt.Parse()

Private Methods

Method Description
HandleUnknownArgument ( string arg, string val ) : void
MaybeHandleDashArgument ( string c, IEnumerator e ) : HandleResult
MaybeHandleSlashArgument ( string c, IEnumerator e ) : HandleResult
UpdateHandler ( NMaier.GetOptNet.ArgumentHandler handler, string value, string arg ) : void

Method Details

Update() public method

Updates the parsed argument collection, but does not yet assign it back. See Also: GetOpt.Parse()
You messed something up The user supplied an argument that isn't recognized from it's name. The user supplied a value for an argument that cannot parsed to the correct type. The user supplied an argument more than once and the argument type does not allow this.
public Update ( IEnumerable args ) : void
args IEnumerable Arguments to parse
return void