Class ArgumentParserSettings
Provides settings for ArgumentParser. Based on CommandLine (Copyright 2005-2015 Giacomo Stelluti Scala and Contributors.).
Inherited Members
Namespace: Swan.Parsers
Syntax
public class ArgumentParserSettings
Properties
CaseInsensitiveEnumValues
Gets or sets a value indicating whether perform case sensitive comparisons of values. Note that case insensitivity only applies to values, not the parameters.
Declaration
public bool CaseInsensitiveEnumValues { get; set; }
Property Value
Type | Description |
---|---|
Boolean |
|
CaseSensitive
Gets or sets a value indicating whether perform case sensitive comparisons. Note that case insensitivity only applies to parameters, not the values assigned to them (for example, enum parsing).
Declaration
public bool CaseSensitive { get; set; }
Property Value
Type | Description |
---|---|
Boolean |
|
IgnoreUnknownArguments
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.
Declaration
public bool IgnoreUnknownArguments { get; set; }
Property Value
Type | Description |
---|---|
Boolean |
|
Remarks
This allows fragmented version class parsing, useful for project with add-on where add-ons also requires command line arguments but when these are unknown by the main program at build time.
WriteBanner
Gets or sets a value indicating whether [write banner].
Declaration
public bool WriteBanner { get; set; }
Property Value
Type | Description |
---|---|
Boolean |
|