Class OptionArgument
Defines a class that represents an option argument. At the command line level, option arguments consist of a prefix, name and an optional value, which is separated by a name-value separator from the name part. If the value part is missing, the option argument is assumed to be a boolean option with a 'true' value.
Inherited Members
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.ToString()
Namespace: Juhta.Net.Console
Assembly: Juhta.Net.Console.dll
Syntax
public class OptionArgument : NameValueArgument
Constructors
| Improve this Doc View SourceOptionArgument(String, String)
Initializes a new instance.
Declaration
public OptionArgument(string name, string value)
Parameters
Type | Name | Description |
---|---|---|
System.String | name | Specifies a value for the Name property. |
System.String | value | Specifies a value for the Value property. |