Table of Contents

Class ConsoleMessagePart

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

One styled component of a console message. Concrete parts (title, body, timestamp, verbose, stack trace, metric) carry their own value; a renderer maps Part to a style.

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

Constructors

ConsoleMessagePart(MessagePart, string)

One styled component of a console message. Concrete parts (title, body, timestamp, verbose, stack trace, metric) carry their own value; a renderer maps Part to a style.

protected ConsoleMessagePart(MessagePart Part, string Value)

Parameters

Part MessagePart

The role this part plays in the message.

Value string

The rendered text of this part.

Properties

Part

The role this part plays in the message.

public MessagePart Part { get; init; }

Property Value

MessagePart

Value

The rendered text of this part.

public string Value { get; init; }

Property Value

string