Class ArgumentDescriptors
The readonly ArgumentDescriptor keyed collection.
public sealed class ArgumentDescriptors : IReadOnlyCollection<ArgumentDescriptor>, IEnumerable<ArgumentDescriptor>, IEnumerable
- Inheritance
-
ArgumentDescriptors
- Implements
- Inherited Members
Constructors
ArgumentDescriptors(ITerminalTextHandler, IEnumerable<ArgumentDescriptor>)
Initializes a new instance.
public ArgumentDescriptors(ITerminalTextHandler textHandler, IEnumerable<ArgumentDescriptor> arguments)
Parameters
textHandler
ITerminalTextHandlerarguments
IEnumerable<ArgumentDescriptor>
Properties
Count
The argument descriptor count.
public int Count { get; }
Property Value
this[int]
Gets the argument descriptor by its index.
public ArgumentDescriptor this[int index] { get; }
Parameters
index
intThe argument index.
Property Value
this[string]
Gets the argument descriptor by its id.
public ArgumentDescriptor this[string id] { get; }
Parameters
id
stringThe argument descriptor identifier.
Property Value
TextHandler
The text handler.
public ITerminalTextHandler TextHandler { get; }
Property Value
Methods
GetEnumerator()
public IEnumerator<ArgumentDescriptor> GetEnumerator()