Anmelden

.NET Framework Class Library
Nsoft.Utilities.CommandLine Namespace
Send Feedback

Classes

ClassDescription
ArgumentAttribute
Allows control of command line parsing. Attach this attribute to instance fields of types used as the destination of command line argument parsing.
DefaultArgumentAttribute
Indicates that this argument is the default argument. '/' or '-' prefix only the argument value is specified. The ShortName property should not be set for DefaultArgumentAttribute instances. The LongName property is used for usage text only and does not affect the usage of the argument.
Parser
Parser for command line arguments. The parser specification is infered from the instance fields of the object specified as the destination of the parse. Valid argument types are: int, uint, string, bool, enums Also argument types of Array of the above types are also valid. Error checking options can be controlled by adding a ArgumentAttribute to the instance fields of the destination object. At most one field may be marked with the DefaultArgumentAttribute indicating that arguments without a '-' or '/' prefix will be parsed as that argument. If not specified then the parser will infer default options for parsing each instance field. The default long name of the argument is the field name. The default short name is the first character of the long name. Long names and explicitly specified short names must be unique. Default short names will be used provided that the default short name does not conflict with a long name or an explicitly specified short name. Arguments which are array types are collection arguments. Collection arguments can be specified multiple times.

Delegates

DelegateDescription
ErrorReporter
A delegate used in error reporting.

Enumerations

EnumerationDescription
ArgumentType
Used to control parsing of command line arguments.
Overview of namespaces
   
Top

Wir arbeiten mit Software von http://www.campus21.de.

Verantwortlich für angezeigte Daten ist der Webdomain-Eigentümer laut Impressum.

Suche