Class ArgumentDescriptor
The ArgumentDescriptor class defines the command argument identity, data type, and data validation behavior. We also refer to arguments as command arguments.
public sealed class ArgumentDescriptor : IKeyAsId
  - Inheritance
 - 
      
      ArgumentDescriptor
 
- Implements
 
- Inherited Members
 
Constructors
ArgumentDescriptor(int, string, string, string, ArgumentFlags)
Initializes a new instance of ArgumentDescriptor.
public ArgumentDescriptor(int order, string id, string dataType, string description, ArgumentFlags flags)
  Parameters
orderintThe argument order.
idstringThe argument identifier.
dataTypestringThe argument data type.
descriptionstringThe argument description.
flagsArgumentFlagsThe argument flags.
Properties
DataType
The argument data type.
public string DataType { get; }
  Property Value
Description
The argument description.
public string Description { get; }
  Property Value
Flags
The argument flags.
public ArgumentFlags Flags { get; }
  Property Value
Id
The argument identifier.
public string Id { get; }
  Property Value
Order
The argument order.
public int Order { get; }
  Property Value
ValueCheckers
The argument value checkers.
public IEnumerable<IValueChecker<Argument>>? ValueCheckers { get; set; }