Table of Contents

CliAnsiWriter.WriteLine Method

Definition

Namespace
DotMake.CommandLine
Assembly
DotMake.CommandLine.dll

WriteLine()

Writes an empty line.

public CliAnsiWriter WriteLine()

Returns

CliAnsiWriter

The same instance so that multiple calls can be chained.

WriteLine(string)

Writes the specified text, followed by the current line terminator.

public CliAnsiWriter WriteLine(string text)

Parameters

text string

The text.

Returns

CliAnsiWriter

The same instance so that multiple calls can be chained.

Writes the specified text with the specified style, followed by the current line terminator.

public CliAnsiWriter WriteLine(string text, CliStyle style, CliLink? link = null)

Parameters

text string

The text.

style CliStyle

The style.

link CliLink

The link.

Returns

CliAnsiWriter

The same instance so that multiple calls can be chained.