Table of Contents

Class Arguments

Namespace
OneImlx.Terminal.Commands
Assembly
OneImlx.Terminal.dll

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 ITerminalTextHandler
arguments IEnumerable<Argument>

Properties

Count

The argument count.

public int Count { get; }

Property Value

int

this[int]

Gets the argument by its index.

public Argument this[int index] { get; }

Parameters

index int

The argument index.

Property Value

Argument

this[string]

Gets the argument by its id.

public Argument this[string id] { get; }

Parameters

id string

The argument identifier.

Property Value

Argument

TextHandler

The text handler.

public ITerminalTextHandler TextHandler { get; }

Property Value

ITerminalTextHandler

Methods

GetEnumerator()

public IEnumerator<Argument> GetEnumerator()

Returns

IEnumerator<Argument>