Table of Contents

Namespace OneImlx.Terminal.Commands

Classes

Argument

The Argument class is a runtime validated representation of an actual command argument and its value passed by a user or an application.

ArgumentDescriptor

The ArgumentDescriptor class defines the command argument identity, data type, and data validation behavior. We also refer to arguments as command arguments.

ArgumentDescriptors

The readonly ArgumentDescriptor keyed collection.

Arguments

The readonly Argument keyed collection.

Command

An immutable command. A command is a specific action or a set of actions that a user or an application requests the underlying system to perform. It can be a simple action such as invoking a system method or an OS command or representing a complex operation that calls a set of protected APIs over the internal or external network. A command can virtually do anything in the context of your application or service.

CommandDescriptor

The CommandDescriptor defines the command identity and its supported options that an end-user or an application can use. You can also describe the command behavior, such as whether the command is a root, grouped, or subcommand.

CommandDescriptors

The optimized CommandDescriptor collection.

CommandRoute

Defines a unique command route.

KeyAsIdCollection<TItem>

A keyed collection by id.

Option

The Option class is a runtime validated representation of an actual command option and its value passed by a user or an application.

OptionDescriptor

The OptionDescriptor class defines the command option identity, data type, and data validation behavior. We also refer to options as command options or command flags.

OptionDescriptors

The OptionDescriptor collection.

Options

The ordered Option keyed collection.

OwnerIdCollection

Defines a collection of owners for a command.

TagIdCollection

Defines a collection of tags for a command.

Interfaces

IKeyAsId

An abstraction of an entity with a key as an identifier.

IValue

As abstraction of a value.

Enums

ArgumentFlags

Defines special argument flags.

CommandFlags

Defines special command flags.

CommandType

Defines the command type.

OptionFlags

Defines special option flags.