FazBrowse GitHub Viewer | Trending |
URL:
| Home
Tools: [Download Repo ZIP]   [Original HTTPS Page]

T_CommandLine_Parser · commandlineparser/commandline Wiki · GitHub

T_CommandLine_Parser · commandlineparser/commandline Wiki · GitHub
Skip to content

Navigation Menu

T_CommandLine_Parser

Moh.Hassan edited this page Oct 10, 2019 · 1 revision

Parser Class

Provides methods to parse command line arguments.

Inheritance Hierarchy

System.Object
  CommandLine.Parser
Namespace: CommandLine
Assembly: CommandLine (in CommandLine.dll) Version: 0.0.0

Syntax

C#

public class Parser : IDisposable

VB

Public Class Parser
	Implements IDisposable

C++

public ref class Parser : IDisposable

F#

type Parser =  
    class
        interface IDisposable
    end

The Parser type exposes the following members.

Constructors

 

Name Description
Parser
Parser() Initializes a new instance of the Parser class.
Parser(ParserSettings) Initializes a new instance of the Parser class
Parser(Action(ParserSettings)) Initializes a new instance of the Parser class, configurable with ParserSettings using a delegate.
  Back to Top

Properties

 

Name Description
Default Gets the singleton instance created with basic defaults.
Settings Gets the instance that implements ParserSettings in use.
  Back to Top

Methods

 

Name Description
DisplayHelp(T)
Dispose() Frees resources owned by the instance.
Dispose(Boolean) Releases the unmanaged resources used by the Parser and optionally releases the managed resources
Equals Determines whether the specified object is equal to the current object. (Inherited from Object.)
Finalize Finalizes an instance of the Parser class. (Overrides Object.Finalize().)
GetHashCode Serves as the default hash function. (Inherited from Object.)
GetType Gets the Type of the current instance. (Inherited from Object.)
HandleUnknownArguments
MakeParserResult(T)
MemberwiseClone Creates a shallow copy of the current Object. (Inherited from Object.)
ParseArguments(IEnumerable(String), Type[]) Parses a string array of command line arguments for verb commands scenario, constructing the proper instance from the array of types supplied by types. Grammar rules are defined decorating public properties with appropriate attributes. The VerbAttribute must be applied to types in the array.
ParseArguments(T)(IEnumerable(String)) Parses a string array of command line arguments constructing values in an instance of type T. Grammar rules are defined decorating public properties with appropriate attributes.
ParseArguments(T)(Func(T), IEnumerable(String)) Parses a string array of command line arguments constructing values in an instance of type T. Grammar rules are defined decorating public properties with appropriate attributes.
Tokenize
ToString Returns a string that represents the current object. (Inherited from Object.)
  Back to Top

Extension Methods

 

Name Description
FormatCommandLine(T)(T) Overloaded.
Format a command line argument string from a parsed instance. (Defined by UnParserExtensions.)
FormatCommandLine(T)(T, Action(UnParserSettings)) Overloaded.
Format a command line argument string from a parsed instance. (Defined by UnParserExtensions.)
IsEmpty (Defined by UnParserExtensions.)
NormalizeValue (Defined by UnParserExtensions.)
ParseArguments(T1, T2, T3, T4, T5, T6, T7, T8, T9, T10)(IEnumerable(String)) Overloaded.
Parses a string array of command line arguments for verb commands scenario, constructing the proper instance from types as generic arguments. Grammar rules are defined decorating public properties with appropriate attributes. The VerbAttribute must be applied to types in the array. (Defined by ParserExtensions.)
ParseArguments(T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11)(IEnumerable(String)) Overloaded.
Parses a string array of command line arguments for verb commands scenario, constructing the proper instance from types as generic arguments. Grammar rules are defined decorating public properties with appropriate attributes. The VerbAttribute must be applied to types in the array. (Defined by ParserExtensions.)
ParseArguments(T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12)(IEnumerable(String)) Overloaded.
Parses a string array of command line arguments for verb commands scenario, constructing the proper instance from types as generic arguments. Grammar rules are defined decorating public properties with appropriate attributes. The VerbAttribute must be applied to types in the array. (Defined by ParserExtensions.)
ParseArguments(T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13)(IEnumerable(String)) Overloaded.
Parses a string array of command line arguments for verb commands scenario, constructing the proper instance from types as generic arguments. Grammar rules are defined decorating public properties with appropriate attributes. The VerbAttribute must be applied to types in the array. (Defined by ParserExtensions.)
ParseArguments(T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14)(IEnumerable(String)) Overloaded.
Parses a string array of command line arguments for verb commands scenario, constructing the proper instance from types as generic arguments. Grammar rules are defined decorating public properties with appropriate attributes. The VerbAttribute must be applied to types in the array. (Defined by ParserExtensions.)
ParseArguments(T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14, T15)(IEnumerable(String)) Overloaded.
Parses a string array of command line arguments for verb commands scenario, constructing the proper instance from types as generic arguments. Grammar rules are defined decorating public properties with appropriate attributes. The VerbAttribute must be applied to types in the array. (Defined by ParserExtensions.)
ParseArguments(T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14, T15, T16)(IEnumerable(String)) Overloaded.
Parses a string array of command line arguments for verb commands scenario, constructing the proper instance from types as generic arguments. Grammar rules are defined decorating public properties with appropriate attributes. The VerbAttribute must be applied to types in the array. (Defined by ParserExtensions.)
ParseArguments(T1, T2)(IEnumerable(String)) Overloaded.
Parses a string array of command line arguments for verb commands scenario, constructing the proper instance from types as generic arguments. Grammar rules are defined decorating public properties with appropriate attributes. The VerbAttribute must be applied to types in the array. (Defined by ParserExtensions.)
ParseArguments(T1, T2, T3)(IEnumerable(String)) Overloaded.
Parses a string array of command line arguments for verb commands scenario, constructing the proper instance from types as generic arguments. Grammar rules are defined decorating public properties with appropriate attributes. The VerbAttribute must be applied to types in the array. (Defined by ParserExtensions.)
ParseArguments(T1, T2, T3, T4)(IEnumerable(String)) Overloaded.
Parses a string array of command line arguments for verb commands scenario, constructing the proper instance from types as generic arguments. Grammar rules are defined decorating public properties with appropriate attributes. The VerbAttribute must be applied to types in the array. (Defined by ParserExtensions.)
ParseArguments(T1, T2, T3, T4, T5)(IEnumerable(String)) Overloaded.
Parses a string array of command line arguments for verb commands scenario, constructing the proper instance from types as generic arguments. Grammar rules are defined decorating public properties with appropriate attributes. The VerbAttribute must be applied to types in the array. (Defined by ParserExtensions.)
ParseArguments(T1, T2, T3, T4, T5, T6)(IEnumerable(String)) Overloaded.
Parses a string array of command line arguments for verb commands scenario, constructing the proper instance from types as generic arguments. Grammar rules are defined decorating public properties with appropriate attributes. The VerbAttribute must be applied to types in the array. (Defined by ParserExtensions.)
ParseArguments(T1, T2, T3, T4, T5, T6, T7)(IEnumerable(String)) Overloaded.
Parses a string array of command line arguments for verb commands scenario, constructing the proper instance from types as generic arguments. Grammar rules are defined decorating public properties with appropriate attributes. The VerbAttribute must be applied to types in the array. (Defined by ParserExtensions.)
ParseArguments(T1, T2, T3, T4, T5, T6, T7, T8)(IEnumerable(String)) Overloaded.
Parses a string array of command line arguments for verb commands scenario, constructing the proper instance from types as generic arguments. Grammar rules are defined decorating public properties with appropriate attributes. The VerbAttribute must be applied to types in the array. (Defined by ParserExtensions.)
ParseArguments(T1, T2, T3, T4, T5, T6, T7, T8, T9)(IEnumerable(String)) Overloaded.
Parses a string array of command line arguments for verb commands scenario, constructing the proper instance from types as generic arguments. Grammar rules are defined decorating public properties with appropriate attributes. The VerbAttribute must be applied to types in the array. (Defined by ParserExtensions.)
  Back to Top

See Also

Reference

CommandLine Namespace

Wiki pages Pages 1,025

Clone this wiki locally

Footer

© 2026 GitHub, Inc.

Back | FazBrowse Home | New Git URL