Command Class
Base class for console commands.
public abstract class Command : System.CommandLine.CommandInheritance System.Object 🡒 System.CommandLine.Symbol 🡒 System.CommandLine.IdentifierSymbol 🡒 System.CommandLine.Command 🡒 Command
Constructors
Section titled “Constructors”Command(IConsole, string, string) Constructor
Section titled “Command(IConsole, string, string) Constructor”protected Command(HAKOM.Console.Core.Net.Api.IConsole console, string name, string description);Parameters
Section titled “Parameters”console IConsole
name System.String
description System.String
Properties
Section titled “Properties”Command.Console Property
Section titled “Command.Console Property”protected HAKOM.Console.Core.Net.Api.IConsole Console { protected get; }Property Value
Section titled “Property Value”Methods
Section titled “Methods”Command.RenderTableSync<TRow>(IEnumerable<TRow>, IEnumerable<(string PropertyName,string Header)>) Method
Section titled “Command.RenderTableSync<TRow>(IEnumerable<TRow>, IEnumerable<(string PropertyName,string Header)>) Method”protected void RenderTableSync<TRow>(System.Collections.Generic.IEnumerable<TRow> rows, System.Collections.Generic.IEnumerable<(string PropertyName,string Header)>? columns=null);Type parameters
Section titled “Type parameters”TRow
Parameters
Section titled “Parameters”rows System.Collections.Generic.IEnumerable<TRow>
columns System.Collections.Generic.IEnumerable<<System.String,System.String>>
Was this page helpful?Thanks for your feedback!