ArcFM Engine Developer Guide
Parser Class Members
Fields  Properties  Methods 


The following tables list the members exposed by Parser.

Public Constructors
 NameDescription
Public ConstructorParser ConstructorCreates a new command line argument parser.  
Top
Public Fields
 NameDescription
Public FieldNewLineThe System Defined new line string.  
Top
Public Properties
 NameDescription
Public PropertyHasDefaultArgumentThis property returns a boolean value indicating whether the parser has a default argument.  
Top
Public Methods
 NameDescription
Public Methodstatic (Shared in Visual Basic)ArgumentsUsageOverloaded. Returns a Usage string for command line argument parsing. Use ArgumentAttributes to control parsing behavior. Formats the output to the width of the current console window.  
Public Methodstatic (Shared in Visual Basic)GetConsoleWindowWidthReturns the number of columns in the current console window.  
Public MethodGetUsageStringA user friendly usage string describing the command line argument syntax.  
Public Methodstatic (Shared in Visual Basic)IndexOfSearches a StringBuilder for a character.  
Public Methodstatic (Shared in Visual Basic)LastIndexOfSearches a StringBuilder for a character in reverse.  
Public MethodParseParses an argument list.  
Public Methodstatic (Shared in Visual Basic)ParseArgumentsOverloaded. Parses Command Line Arguments. Errors are output on Console.Error. Use ArgumentAttributes to control parsing behavior.  
Public Methodstatic (Shared in Visual Basic)ParseArgumentsWithUsageParses Command Line Arguments. Displays usage message to Console.Out if /?, /help or invalid arguments are encountered. Errors are output on Console.Error. Use ArgumentAttributes to control parsing behavior.  
Public Methodstatic (Shared in Visual Basic)ParseHelpChecks if a set of arguments asks for help.  
Top
See Also

Reference

Parser Class
Miner.CommandLine Namespace

 

 


Send Comment