Class CommandArgument<T>
Represents one or many positional command line arguments.
Arguments are parsed in the order in which Arguments lists them.
Compare to CommandOption. The raw value must be
parsable into type T
Inherited Members
      System.Object.Equals(System.Object)
    
    
      System.Object.Equals(System.Object, System.Object)
    
    
      System.Object.GetHashCode()
    
    
      System.Object.GetType()
    
    
      System.Object.MemberwiseClone()
    
    
      System.Object.ReferenceEquals(System.Object, System.Object)
    
    
      System.Object.ToString()
    
  Namespace: McMaster.Extensions.CommandLineUtils
Assembly: McMaster.Extensions.CommandLineUtils.dll
Syntax
public class CommandArgument<T> : CommandArgument, IInternalCommandParamOfT
  Type Parameters
| Name | Description | 
|---|---|
| T | 
Constructors
| Improve this Doc View SourceCommandArgument(IValueParser<T>)
Initializes a new instance of CommandArgument<T>
Declaration
public CommandArgument(IValueParser<T> valueParser)
  Parameters
| Type | Name | Description | 
|---|---|---|
| IValueParser<T> | valueParser | The value parser.  | 
      
Properties
| Improve this Doc View SourceParsedValue
The parsed value.
Declaration
public T ParsedValue { get; }
  Property Value
| Type | Description | 
|---|---|
| T | 
ParsedValues
All parsed values;
Declaration
public IReadOnlyList<T> ParsedValues { get; }
  Property Value
| Type | Description | 
|---|---|
| System.Collections.Generic.IReadOnlyList<T> |