Table of Contents

Class ConsoleMessageColoredPlaceholderPart

Namespace
RDCore.SDK.ConsoleIO.Model
Assembly
RDCore.SDK.dll

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

Placeholder string

The literal token to replace in the body, e.g. {$HEART}.

StringValue string

The replacement text.

Color ConsoleRgbColor

The colour the replacement text is written in.

Properties

Color

The colour the replacement text is written in.

public ConsoleRgbColor Color { get; init; }

Property Value

ConsoleRgbColor