Table of Contents

Class CommandSuggestion

Namespace
Zorro.Core.CLI
Assembly
Zorro.Core.Runtime.dll
public class CommandSuggestion : Suggestion
Inheritance
CommandSuggestion
Inherited Members
Extension Methods

Constructors

CommandSuggestion(string, string, ParameterInfo[])

public CommandSuggestion(string domain, string command, ParameterInfo[] parameterInfos)

Parameters

domain string
command string
parameterInfos ParameterInfo[]

Fields

Command

public string Command

Field Value

string

Domain

public string Domain

Field Value

string

ParameterInfos

public ParameterInfo[] ParameterInfos

Field Value

ParameterInfo[]

Properties

FullCommand

public string FullCommand { get; }

Property Value

string

Methods

CanBeSelected()

public override bool CanBeSelected()

Returns

bool

GetDisplayTextWithMaxParameter(int, bool)

public string GetDisplayTextWithMaxParameter(int maxParameterIndex, bool color)

Parameters

maxParameterIndex int
color bool

Returns

string

GetInputValue()

public override string GetInputValue()

Returns

string

HighlightParameter(int)

public void HighlightParameter(int parameterIndex)

Parameters

parameterIndex int

ToString()

Returns a string that represents the current object.

public override string ToString()

Returns

string

A string that represents the current object.