MarkdownText

Class

Selectable plain text and UTF-16 style ranges rendered from Markdown.

Namespace: RazorConsole.Core.Rendering.Markdown
Assembly: RazorConsole.Core

Definition

public sealed record MarkdownText : IEquatable<MarkdownText>

Constructors

1
NameTypeDescription
MarkdownText(string, IReadOnlyList<StyleRange>)()ConstructorSelectable plain text and UTF-16 style ranges rendered from Markdown.

Properties

2
NameTypeDescription
Appearance
StylesIReadOnlyList<StyleRange>—
Common
TextString—

Methods

6
NameTypeDescription
Deconstruct(out string, out IReadOnlyList<StyleRange>)()Method—
Equals(MarkdownText?)()Boolean—
Equals(object?)()Boolean—
GetHashCode()Int32—
Parse(string, string, int)()MarkdownText—
ToString()String—

Operators

2
NameTypeDescription
operator ==(MarkdownText?, MarkdownText?)()Boolean—
operator !=(MarkdownText?, MarkdownText?)()Boolean—