Click or drag to resize
ParserSettings Class
Provides settings for Parser. Once consumed cannot be reused.
Inheritance Hierarchy
SystemObject
  X3Platform.CommandLineParserSettings

Namespace: X3Platform.CommandLine
Assembly: X3Platform.Support (in X3Platform.Support.dll) Version: 1.0.0.0 (2.0.0.0)
Syntax
public sealed class ParserSettings

The ParserSettings type exposes the following members.

Constructors
  NameDescription
Public methodParserSettings
Initializes a new instance of the ParserSettings class.
Public methodParserSettings(Boolean)
Initializes a new instance of the ParserSettings class, setting the case comparison behavior.
Public methodParserSettings(TextWriter)
Initializes a new instance of the ParserSettings class, setting the TextWriter used for help method output.
Public methodParserSettings(Boolean, Boolean)
Initializes a new instance of the ParserSettings class, setting case comparison and mutually exclusive behaviors.
Public methodParserSettings(Boolean, TextWriter)
Initializes a new instance of the ParserSettings class, setting case comparison and help output options.
Public methodParserSettings(Boolean, Boolean, TextWriter)
Initializes a new instance of the ParserSettings class, setting case comparison, mutually exclusive behavior and help output option.
Public methodParserSettings(Boolean, Boolean, Boolean, TextWriter)
Initializes a new instance of the ParserSettings class, setting case comparison, mutually exclusive behavior and help output option.
Top
Methods
  NameDescription
Public methodDispose
Frees resources owned by the instance.
Public methodEquals (Inherited from Object.)
Public methodGetHashCode (Inherited from Object.)
Public methodGetType (Inherited from Object.)
Public methodToString (Inherited from Object.)
Top
Properties
  NameDescription
Public propertyCaseSensitive
Gets or sets a value indicating whether perform case sensitive comparisons.
Public propertyHelpWriter
Gets or sets the TextWriter used for help method output. Setting this property to null, will disable help screen.
Public propertyIgnoreUnknownArguments
Gets or sets a value indicating whether the parser shall move on to the next argument and ignore the given argument if it encounter an unknown arguments
Public propertyMutuallyExclusive
Gets or sets a value indicating whether set a mutually exclusive behavior. Default is set to false.
Public propertyParsingCulture
Gets or sets the culture used when parsing arguments to typed properties.
Top
See Also