Base Option Class
This abstract base class represents a command line option
Definition
Namespace: Sandcastle.Core.CommandLine
Assembly: Sandcastle.Core (in Sandcastle.Core.dll) Version: 2026.3.29.0
Assembly: Sandcastle.Core (in Sandcastle.Core.dll) Version: 2026.3.29.0
C#
public abstract class BaseOptionVB
Public MustInherit Class BaseOptionC++
public ref class BaseOption abstractF#
[<AbstractClassAttribute>]
type BaseOption = class end- Inheritance
- Object BaseOption
- Derived
Constructors
| BaseOption | Constructor |
Properties
| Description | This read-only property returns the option description |
| IsPresent | This read-only property is used to determine whether or not the option value was present on the command line. |
| Name | This read-only property returns the option name |
| RequiredMessage | This is used to get or set a message to display if the option is missing |
| Value | This property is used to get or set the option value |
Methods
| Equals | Determines whether the specified object is equal to the current object. (Inherited from Object) |
| Finalize | Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Inherited from Object) |
| GetHashCode | Serves as the default hash function. (Inherited from Object) |
| GetType | Gets the Type of the current instance. (Inherited from Object) |
| MemberwiseClone | Creates a shallow copy of the current Object. (Inherited from Object) |
| ToString | Returns a string that represents the current object. (Inherited from Object) |