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
Field Value
- 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
public override string GetInputValue()
Returns
- string
HighlightParameter(int)
public void HighlightParameter(int parameterIndex)
Parameters
parameterIndex
int
ToString()
public override string ToString()
Returns
- string