Class ConsoleMessageColoredPlaceholderPart
A ConsoleMessageStringLiteralPlaceholderPart written in a colour of its own rather than styled as Metric: a glyph whose colour is part of what it means, whatever the theme - the red heart of the slogan.
public record ConsoleMessageColoredPlaceholderPart : ConsoleMessageStringLiteralPlaceholderPart, IEquatable<ConsoleMessagePart>, IEquatable<ConsoleMessageStringLiteralPlaceholderPart>, IEquatable<ConsoleMessageColoredPlaceholderPart>
- Inheritance
-
ConsoleMessageColoredPlaceholderPart
- Implements
- Inherited Members
Constructors
ConsoleMessageColoredPlaceholderPart(string, string, ConsoleRgbColor)
A ConsoleMessageStringLiteralPlaceholderPart written in a colour of its own rather than styled as Metric: a glyph whose colour is part of what it means, whatever the theme - the red heart of the slogan.
public ConsoleMessageColoredPlaceholderPart(string Placeholder, string StringValue, ConsoleRgbColor Color)
Parameters
PlaceholderstringThe literal token to replace in the body, e.g.
{$HEART}.StringValuestringThe replacement text.
ColorConsoleRgbColorThe colour the replacement text is written in.
Properties
Color
The colour the replacement text is written in.
public ConsoleRgbColor Color { get; init; }