ICommandContainer Interface

Represents a command container.
public interface ICommandContainer
Implementing Types

Properties

abstract IReadOnlyList<ICommandInfo> Commands
Gets all commands in the container.
abstract ICommandInfo DefaultCommand
Gets the default command for the container.
abstract IReadOnlyList<string[]> Examples
Gets all the examples for the container.

Extension Methods

T And<ICommandContainer>(Action<ICommandContainer>)
Performs the specified action on the given object and then returns the object. Useful for fluent testing patterns where additional assertions or operations are chained together in a readable manner.