Class CommandConsole
Implements
Inherited Members
Namespace: PayrollEngine.Client.Command
Assembly: PayrollEngine.Client.Core.dll
Syntax
public class CommandConsole : ICommandConsole
Constructors
CommandConsole()
Declaration
public CommandConsole()
Properties
DisplayLevel
Display level.
Declaration
public DisplayLevel DisplayLevel { get; set; }
Property Value
| Type | Description |
|---|---|
| DisplayLevel |
ErrorMode
Error mode.
Declaration
public ErrorMode ErrorMode { get; set; }
Property Value
| Type | Description |
|---|---|
| ErrorMode |
WaitMode
Wait mode.
Declaration
public WaitMode WaitMode { get; set; }
Property Value
| Type | Description |
|---|---|
| WaitMode |
Methods
DisplayErrorLine(string)
Display error line.
Declaration
public void DisplayErrorLine(string text = null)
Parameters
| Type | Name | Description |
|---|---|---|
| string | text | Text to display. |
DisplayInfo(string)
Display info.
Declaration
public void DisplayInfo(string text)
Parameters
| Type | Name | Description |
|---|---|---|
| string | text | Text to display. |
DisplayInfoLine(string)
Display info line.
Declaration
public void DisplayInfoLine(string text)
Parameters
| Type | Name | Description |
|---|---|---|
| string | text | Text to display. |
DisplayNewLine()
Display new line.
Declaration
public void DisplayNewLine()
DisplaySuccessLine(string)
Display success line.
Declaration
public void DisplaySuccessLine(string text)
Parameters
| Type | Name | Description |
|---|---|---|
| string | text | Text to display. |
DisplayText(string)
Display text.
Declaration
public void DisplayText(string text)
Parameters
| Type | Name | Description |
|---|---|---|
| string | text | Text to display. |
DisplayTextLine(string)
Display text line.
Declaration
public void DisplayTextLine(string text)
Parameters
| Type | Name | Description |
|---|---|---|
| string | text | Text to display. |
DisplayTitleLine(string)
Display title line.
Declaration
public void DisplayTitleLine(string text)
Parameters
| Type | Name | Description |
|---|---|---|
| string | text | Text to display. |
WriteErrorLine(string)
Write error line.
Declaration
public void WriteErrorLine(string text)
Parameters
| Type | Name | Description |
|---|---|---|
| string | text | Text to display. |