Skip to the content.

PromptPlus API:IConsoleBase

Build Publish License NuGet Downloads

Back to List Api

IConsoleBase

Namespace: PPlus

Represents the interface for any console.

public interface IConsoleBase : ICursorDrive, IInputDrive, IOutputDrive, IBackendTextWrite, IProfileDrive, IConsoleExtendDrive

Implements ICursorDrive, IInputDrive, IOutputDrive, IBackendTextWrite, IProfileDrive, IConsoleExtendDrive

Properties

BackgroundColor

Get/set console BackgroundColor

public abstract ConsoleColor BackgroundColor { get; set; }

Property Value

ConsoleColor

ForegroundColor

Get/set console ForegroundColor

public abstract ConsoleColor ForegroundColor { get; set; }

Property Value

ConsoleColor

Methods

ResetColor()

Reset colors to default values.

void ResetColor()

Back to List Api