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
styleCliStyleThe style.
decorationCliDecorationThe text decoration.
Returns
- CliStyle
The same instance so that multiple calls can be chained.