Click or drag to resize

Parser Methods

The Parser type exposes the following members.

Methods
  NameDescription
Public methodStatic memberArgumentsUsage(Type)
Returns a Usage string for command line argument parsing. Use ArgumentAttributes to control parsing behaviour. Formats the output to the width of the current console window.
Public methodStatic memberArgumentsUsage(Type, Int32)
Returns a Usage string for command line argument parsing. Use ArgumentAttributes to control parsing behaviour.
Public methodEquals
Determines whether the specified object is equal to the current object.
(Inherited from Object.)
Public methodStatic memberGetConsoleWindowWidth
Returns the number of columns in the current console window
Public methodGetHashCode
Serves as the default hash function.
(Inherited from Object.)
Public methodGetType
Gets the Type of the current instance.
(Inherited from Object.)
Public methodGetUsageString
A user firendly usage string describing the command line argument syntax.
Public methodStatic memberIndexOf
Searches a StringBuilder for a character
Public methodStatic memberLastIndexOf
Searches a StringBuilder for a character in reverse
Public methodParse
Parses an argument list.
Public methodStatic memberParseArguments(String, Object)
Parses Command Line Arguments. Errors are output on Console.Error. Use ArgumentAttributes to control parsing behaviour.
Public methodStatic memberParseArguments(String, Object, ErrorReporter)
Parses Command Line Arguments. Use ArgumentAttributes to control parsing behaviour.
Public methodStatic memberParseArgumentsWithUsage
Parses Command Line Arguments. Displays usage message to Console.Out if /?, /help or invalid arguments are encounterd. Errors are output on Console.Error. Use ArgumentAttributes to control parsing behaviour.
Public methodStatic memberParseHelp
Checks if a set of arguments asks for help.
Public methodToString
Returns a string that represents the current object.
(Inherited from Object.)
Top
See Also