Skip to the content.

PromptPlus API:IBackendTextWrite

Build Publish License NuGet Downloads

Back to List Api

IBackendTextWrite

Namespace: PPlus

Represents the interface for write text console.

public interface IBackendTextWrite

Methods

Write(String, Nullable<Style>, Boolean)

Write a text to output console.

int Write(string value, Nullable<Style> style, bool clearrestofline)

Parameters

value String
text to write

style Nullable<Style>
Style of text

clearrestofline Boolean
Clear rest of line after write

Returns

Number of lines write on console

WriteLine(String, Nullable<Style>, Boolean)

Write a text to output console with line terminator.

int WriteLine(string value, Nullable<Style> style, bool clearrestofline)

Parameters

value String
text to write

style Nullable<Style>
Style of text

clearrestofline Boolean
Clear rest of line after write

Returns

Number of lines write on console


Back to List Api