Class FormattedText
A formatted_text value.
Implements
Inherited Members
Namespace: Activout.Blue5.Attributes
Assembly: Activout.Blue5.dll
Syntax
public sealed record FormattedText : IEquatable<FormattedText>
Constructors
| Edit this page View SourceFormattedText(string, string?)
A formatted_text value.
Declaration
public FormattedText(string Content, string? ContentType)
Parameters
| Type | Name | Description |
|---|---|---|
| string | Content | Markdown or HTML source. |
| string | ContentType |
|
Properties
| Edit this page View SourceContent
Markdown or HTML source.
Declaration
public string Content { get; init; }
Property Value
| Type | Description |
|---|---|
| string |
ContentType
text/markdown, text/html, or null if not supplied.
Declaration
public string? ContentType { get; init; }
Property Value
| Type | Description |
|---|---|
| string |
Methods
| Edit this page View SourceToString()
Returns Content.
Declaration
public override string ToString()
Returns
| Type | Description |
|---|---|
| string |