Table of Contents

Class ConsoleMessageStringLiteralPlaceholderPart

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

A named span whose formatted value is substituted into the body where Placeholder (a {$NAME} token) appears, and styled as Metric.

public record ConsoleMessageStringLiteralPlaceholderPart : ConsoleMessagePart, IEquatable<ConsoleMessagePart>, IEquatable<ConsoleMessageStringLiteralPlaceholderPart>
Inheritance
ConsoleMessageStringLiteralPlaceholderPart
Implements
Derived
Inherited Members

Constructors

ConsoleMessageStringLiteralPlaceholderPart(PlaceholderKind, string, string)

A named span whose formatted value is substituted into the body where Placeholder (a {$NAME} token) appears, and styled as Metric.

public ConsoleMessageStringLiteralPlaceholderPart(PlaceholderKind Kind, string Placeholder, string StringValue)

Parameters

Kind PlaceholderKind

How the value is formatted.

Placeholder string

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

StringValue string

The already-formatted replacement text.

Properties

Kind

How the value is formatted.

public PlaceholderKind Kind { get; init; }

Property Value

PlaceholderKind

Placeholder

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

public string Placeholder { get; init; }

Property Value

string

StringValue

The already-formatted replacement text.

public string StringValue { get; init; }

Property Value

string