Table of Contents

StyleExtensions.Decoration Method

Definition

Namespace
DotMake.CommandLine
Assembly
DotMake.CommandLine.dll

Creates a new style from the specified one with the specified text decoration.

public static CliStyle Decoration(this CliStyle style, CliDecoration decoration)

Parameters

style CliStyle

The style.

decoration CliDecoration

The text decoration.

Returns

CliStyle

The same instance so that multiple calls can be chained.