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
order
intThe argument order.
id
stringThe argument identifier.
dataType
stringThe argument data type.
description
stringThe argument description.
flags
ArgumentFlagsThe 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; }