C# Class NuDeploy.CommandLine.UserInterface.ConsoleUserInterface

Inheritance: IUserInterface
Afficher le fichier Open project: andreaskoch/NuDeploy Class Usage Examples

Méthodes publiques

Méthode Description
ConsoleUserInterface ( IConsoleTextManipulation textManipulation, IActionLogger logger, IServiceResultVisualizer serviceResultVisualizer ) : System
Display ( IServiceResult serviceResult ) : void
GetInput ( ) : string
ShowIndented ( string text, int marginLeft ) : void
ShowKeyValueStore ( string>.IDictionary keyValueStore, int distanceBetweenColumns ) : void
ShowKeyValueStore ( string>.IDictionary keyValueStore, int distanceBetweenColumns, int indentation ) : void
ShowLabelValuePair ( string label, string value, int distanceBetweenLabelAndValue ) : void
Write ( string text ) : void
WriteLine ( string text ) : void

Private Methods

Méthode Description
Capture ( string text ) : void
CaptureLine ( string text ) : void

Method Details

ConsoleUserInterface() public méthode

public ConsoleUserInterface ( IConsoleTextManipulation textManipulation, IActionLogger logger, IServiceResultVisualizer serviceResultVisualizer ) : System
textManipulation IConsoleTextManipulation
logger IActionLogger
serviceResultVisualizer IServiceResultVisualizer
Résultat System

Display() public méthode

public Display ( IServiceResult serviceResult ) : void
serviceResult IServiceResult
Résultat void

GetInput() public méthode

public GetInput ( ) : string
Résultat string

ShowIndented() public méthode

public ShowIndented ( string text, int marginLeft ) : void
text string
marginLeft int
Résultat void

ShowKeyValueStore() public méthode

public ShowKeyValueStore ( string>.IDictionary keyValueStore, int distanceBetweenColumns ) : void
keyValueStore string>.IDictionary
distanceBetweenColumns int
Résultat void

ShowKeyValueStore() public méthode

public ShowKeyValueStore ( string>.IDictionary keyValueStore, int distanceBetweenColumns, int indentation ) : void
keyValueStore string>.IDictionary
distanceBetweenColumns int
indentation int
Résultat void

ShowLabelValuePair() public méthode

public ShowLabelValuePair ( string label, string value, int distanceBetweenLabelAndValue ) : void
label string
value string
distanceBetweenLabelAndValue int
Résultat void

Write() public méthode

public Write ( string text ) : void
text string
Résultat void

WriteLine() public méthode

public WriteLine ( string text ) : void
text string
Résultat void