Interface IArgumentMetadata
Metadata associated to the argument, used during the parse
public interface IArgumentMetadata
- Extension Methods
Properties
ArrayValues
object[] ArrayValues { get; set; }
Property Value
- object[]
CrossCheck
An Action to cross check multiple values. If something is not correct during check an ArgumentException shall be raised.
Action<IEnumerable<IArgumentMetadataParsed>> CrossCheck { get; set; }
Property Value
CustomPrefix
If Prefix contains Custom use CustomPrefix to analyze arguments
string CustomPrefix { get; set; }
Property Value
DataType
The Type of the parameter.
Type DataType { get; }
Property Value
Default
The dafault value to use if the value is not found
object Default { get; set; }
Property Value
Help
Argument help
string Help { get; set; }
Property Value
IsCaseInvariant
True if the argument shall be treated as case invariant
bool? IsCaseInvariant { get; set; }
Property Value
- bool?
IsEnum
The argument contains an enumeration value
bool IsEnum { get; }
Property Value
IsExtended
True if the argument is an extended argument
bool IsExtended { get; set; }
Property Value
IsFlag
The argument contains an enumeration value with FlagsAttribute
bool IsFlag { get; }
Property Value
IsMandatory
True if the argument shall be mandatory
bool IsMandatory { get; set; }
Property Value
IsMultiValue
The argument contains multiple values
bool IsMultiValue { get; set; }
Property Value
KeyValuePairSeparator
string KeyValuePairSeparator { get; set; }
Property Value
MaxValue
object MaxValue { get; set; }
Property Value
MinValue
object MinValue { get; set; }
Property Value
MultiValueSeparator
The separator used in the multiple value argument
char? MultiValueSeparator { get; set; }
Property Value
- char?
Name
Argument name
string Name { get; set; }
Property Value
Prefix
ArgumentPrefix prefix associated to IArgumentMetadata
ArgumentPrefix? Prefix { get; set; }
Property Value
PrefixInUse
The string representing the actual prefix from configuration
string PrefixInUse { get; }
Property Value
ShortName
Argument short name
string ShortName { get; set; }
Property Value
Type
Set how to manage the IArgumentMetadata
ArgumentType? Type { get; set; }
Property Value
ValueType
ArgumentValueType to check input
ArgumentValueType? ValueType { get; set; }