Class DefaultConsole
A default console.
Inheritance
System.Object
DefaultConsole
Implements
Inherited Members
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.ToString()
Namespace: Kephas.Application.Console
Assembly: Kephas.Application.Console.dll
Syntax
[OverridePriority(Priority.Low)]
public class DefaultConsole : IConsole
Methods
| Improve this Doc View SourceReadLine()
Reads the line from the console.
Declaration
public string ReadLine()
Returns
Type | Description |
---|---|
System.String | The line. |
Write(String)
Writes the text to the console.
Declaration
public 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
public void WriteLine(string value = null)
Parameters
Type | Name | Description |
---|---|---|
System.String | value | Optional. The text to write. |