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