C# Class NuDeploy.CommandLine.UserInterface.ConsoleUserInterface

Inheritance: IUserInterface
Mostra file Open project: andreaskoch/NuDeploy Class Usage Examples

Public Methods

Method 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

Method Description
Capture ( string text ) : void
CaptureLine ( string text ) : void

Method Details

ConsoleUserInterface() public method

public ConsoleUserInterface ( IConsoleTextManipulation textManipulation, IActionLogger logger, IServiceResultVisualizer serviceResultVisualizer ) : System
textManipulation IConsoleTextManipulation
logger IActionLogger
serviceResultVisualizer IServiceResultVisualizer
return System

Display() public method

public Display ( IServiceResult serviceResult ) : void
serviceResult IServiceResult
return void

GetInput() public method

public GetInput ( ) : string
return string

ShowIndented() public method

public ShowIndented ( string text, int marginLeft ) : void
text string
marginLeft int
return void

ShowKeyValueStore() public method

public ShowKeyValueStore ( string>.IDictionary keyValueStore, int distanceBetweenColumns ) : void
keyValueStore string>.IDictionary
distanceBetweenColumns int
return void

ShowKeyValueStore() public method

public ShowKeyValueStore ( string>.IDictionary keyValueStore, int distanceBetweenColumns, int indentation ) : void
keyValueStore string>.IDictionary
distanceBetweenColumns int
indentation int
return void

ShowLabelValuePair() public method

public ShowLabelValuePair ( string label, string value, int distanceBetweenLabelAndValue ) : void
label string
value string
distanceBetweenLabelAndValue int
return void

Write() public method

public Write ( string text ) : void
text string
return void

WriteLine() public method

public WriteLine ( string text ) : void
text string
return void