Interface IConsole
Interface for console.
Namespace: Kephas.Application.Console
Assembly: Kephas.Application.Console.dll
Syntax
[SingletonAppServiceContract]
public interface IConsole
Methods
| Improve this Doc View SourceReadLine()
Reads the line from the console.
Declaration
string ReadLine()
Returns
Type | Description |
---|---|
System.String | The line. |
Write(String)
Writes the text to the console.
Declaration
void Write(string value)
Parameters
Type | Name | Description |
---|---|---|
System.String | value | The text to write. |
WriteLine(String)
Writes the text to the console followed by a new line.
Declaration
void WriteLine(string value = null)
Parameters
Type | Name | Description |
---|---|---|
System.String | value | Optional. The text to write. |