C# Class NuGetConsole.Host.CommandExpansion

Common ITabExpansion based command expansion implementation.
Inheritance: ICommandExpansion
Afficher le fichier Open project: monoman/NugetCracker

Méthodes publiques

Méthode Description
CommandExpansion ( ITabExpansion tabExpansion ) : System
GetExpansions ( string line, int caretIndex ) : SimpleExpansion

Private Methods

Méthode Description
AdjustExpansions ( string leftWord, string &expansions ) : string

Adjust host TabExpansion results to hide some common parts, e.g. "$dte.Commands.", so that the intellisense pop up looks more Visual Studio friendly.

Method Details

CommandExpansion() public méthode

public CommandExpansion ( ITabExpansion tabExpansion ) : System
tabExpansion ITabExpansion
Résultat System

GetExpansions() public méthode

public GetExpansions ( string line, int caretIndex ) : SimpleExpansion
line string
caretIndex int
Résultat SimpleExpansion