Class SetupConsoleWriter
Used internally to update .NET console window without flickering.
Namespace: Neon.Kube.Setup
Assembly: Neon.Kube.dll
Syntax
public class SetupConsoleWriter
Constructors
SetupConsoleWriter(bool)
Constructor.
Declaration
public SetupConsoleWriter(bool disabled = false)
Parameters
Type | Name | Description |
---|---|---|
bool | disabled | Optionally specifies that the console should be disabled. This defaults to |
Methods
Stop()
Disables Update(string) from writing any more updates to the console and restores the console for normal write operations.
Declaration
public void Stop()
Update(string)
Writes the text passed to the Console without flickering.
Declaration
public void Update(string text)
Parameters
Type | Name | Description |
---|---|---|
string | text | The text to be written. |