Class ConsoleMessageStringLiteralPlaceholderPart
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
KindPlaceholderKindHow the value is formatted.
PlaceholderstringThe literal token to replace in the body, e.g.
{$COUNT}.StringValuestringThe already-formatted replacement text.
Properties
Kind
How the value is formatted.
public PlaceholderKind Kind { get; init; }
Property Value
Placeholder
The literal token to replace in the body, e.g. {$COUNT}.
public string Placeholder { get; init; }
Property Value
StringValue
The already-formatted replacement text.
public string StringValue { get; init; }