AbstractOption Class
Provides abstraction of OptionImpl and RequiredArgumentOptionImpl.
C#
public abstract class AbstractOption
- Inheritance
-
Abstract
Option
- Derived
Methods
|
To |
Gets the string representing this option, which is actually specified with the command line. |
| Equals(object) | (Inherited from object) |
| GetHashCode() | (Inherited from object) |
| GetType() | (Inherited from object) |
| MemberwiseClone() | (Inherited from object) |
| ToString() | (Inherited from object) |
Methods Detail
ToString()
Gets the string representing this option, which is actually specified with the command line.
C#
public override sealed string ToString()
Returns
If the option is specified with the shortened-form, its short name. Otherwise, the actual argument of the command-line options.