-
Home
-
API
-
XenoAtom.CommandLine.Terminal
-
CommandTerminalExtensions
-
Methods
-
Add(TCommand, TVisual)
Add<TCommand, TVisual>(TCommand, TVisual) Method
Definition
Adds a Terminal.UI visual node to a command container.
public static TCommand Add<TCommand, TVisual>(this TCommand command, TVisual visual)
where TCommand : CommandContainer where TVisual : Visual
Type parameters
- TCommand
- Type of the command container.
- TVisual
- Type of the visual node.
Parameters
- command
- {TCommand}
The command container to append to.
- visual
- {TVisual}
The visual to append.
Returns
- {TCommand}
- The command container.